diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1ede0d1..5f0628d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,8 @@ jobs: permissions: contents: read packages: write + env: + GH_READ_PACKAGES_TOKEN: ${{ secrets.GH_READ_PACKAGES_TOKEN }} steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 @@ -21,5 +23,4 @@ jobs: run: ./gradlew --no-daemon publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_READ_PACKAGES_TOKEN: ${{ secrets.GH_READ_PACKAGES_TOKEN }}