Browse Source

Actions: Provide github packages access data to actions.

m1
weisj 3 years ago
parent
commit
d3879088ef
No known key found for this signature in database
GPG Key ID: 31124CB75461DA2A
  1. 5
      .github/workflows/gradle.yml
  2. 6
      .github/workflows/illegalAccessCheck.yml
  3. 2
      .github/workflows/libs.yml

5
.github/workflows/gradle.yml

@ -58,6 +58,9 @@ jobs:
macos:
name: macOS (Java 11)
runs-on: macos-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v2
with:
@ -77,6 +80,8 @@ jobs:
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Test Results
uses: actions/upload-artifact@v1
if: ${{ always() }}

6
.github/workflows/illegalAccessCheck.yml

@ -66,10 +66,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 16
- name: Setup XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '12.1'
- name: Build & Test
uses: eskatos/gradle-command-action@v1
with:
@ -77,6 +73,8 @@ jobs:
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Test Results
uses: actions/upload-artifact@v1
if: ${{ always() }}

2
.github/workflows/libs.yml

@ -66,6 +66,8 @@ jobs:
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-artifact@v1
with:

Loading…
Cancel
Save