Skip to content

Commit

Permalink
Add write permissions to job
Browse files Browse the repository at this point in the history
  • Loading branch information
francoishernandez authored Nov 29, 2023
1 parent 52fef1c commit de25119
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
strategy:
matrix:
cuda_version: [11.8.0, 12.1.0]
permissions:
id-token: write
contents: read
permissions: write-all
steps:
- name: Checkout opennmt repo
uses: actions/checkout@v4
Expand All @@ -37,4 +35,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: |
docker/build.sh ${{ env.ONMT_VERSION }} ${{ matrix.cuda_version}}
docker/build.sh ${{ env.ONMT_VERSION }} ${{ matrix.cuda_version}}

0 comments on commit de25119

Please sign in to comment.