diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1962cb7..12d4bf4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,9 @@ env: GAME_EXECUTABLE_NAME: bevy_game GAME_OSX_APP_NAME: BevyGame +permissions: + contents: write + jobs: build-macOS: runs-on: macos-latest @@ -57,8 +60,6 @@ jobs: ln -s /Applications build/macos/src/ hdiutil create -fs HFS+ -volname "${{ env.GAME_OSX_APP_NAME }}" -srcfolder build/macos/src ${{ env.GAME_EXECUTABLE_NAME }}.dmg - name: Upload release - permissions: - contents: write uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -95,8 +96,6 @@ jobs: run: | tar -czf ${{ env.GAME_EXECUTABLE_NAME }}_linux.tar.gz ${{ env.GAME_EXECUTABLE_NAME }} assets credits - name: Upload release - permissions: - contents: write uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -132,8 +131,6 @@ jobs: files: target/release/assets/ target/release/credits/ target/release/${{ env.GAME_EXECUTABLE_NAME }}.exe dest: ${{ env.GAME_EXECUTABLE_NAME }}_windows.zip - name: Upload release - permissions: - contents: write uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -184,8 +181,6 @@ jobs: files: dist/ dest: ${{ env.GAME_EXECUTABLE_NAME }}_web.zip - name: Upload release - permissions: - contents: write uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }}