Skip to content

Commit

Permalink
Allow package write.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoli-al committed Dec 22, 2024
1 parent 81aca9e commit d28a8c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
needs: check_date
if: github.repository == 'cmu-pasta/fray' && needs.check_date.outputs.should_run != 'false'
runs-on: ${{ matrix.operating-system }}
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,12 +55,12 @@ jobs:
run: ./gradlew build
- name: publish to github package repository (macOS)
if: runner.os == 'macOS'
run: ./gradlew :jvmti:publish -Pversion=$VERSION
run: ./gradlew :jvmti:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: publish to github package repository (Linux)
if: runner.os == 'Linux'
run: ./gradlew publish -Pversion=$VERSION
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
Expand Down

0 comments on commit d28a8c3

Please sign in to comment.