diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad0834f..7f5b5b5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up CMake uses: lukka/get-cmake@latest @@ -33,7 +33,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up CMake uses: lukka/get-cmake@latest @@ -53,10 +53,12 @@ jobs: release: runs-on: ubuntu-latest needs: [build-windows, build-macos] + permissions: + contents: write steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download Windows artifact uses: actions/download-artifact@v2 @@ -75,10 +77,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.PAT }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag: ${{ github.ref }} + name: Release ${{ github.ref }} draft: false prerelease: false - files: | + artifacts: | release/Chip8Emu.exe release/Chip8Emu