Skip to content

Commit

Permalink
try overwrite: true to support releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed May 8, 2024
1 parent 4608ba6 commit ce093e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_win${{ matrix.bits }}_${{ matrix.compiler }}" >> $GITHUB_ENV
shell: bash
if: github.event_name == 'release' && github.event.action == 'published'
overwrite: true

- name: Setup Environment
run: |
Expand All @@ -76,6 +77,7 @@ jobs:
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
if: matrix.compiler == 'msvc16'
overwrite: true

- name: Build Library (MinGW-w64 32bit)
run: |
Expand All @@ -91,6 +93,7 @@ jobs:
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 32
overwrite: true

- name: Build Library (MinGW-w64 64bit)
run: |
Expand All @@ -106,6 +109,7 @@ jobs:
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 64
overwrite: true

- name: Build Library (MSVC16)
run: |
Expand All @@ -118,6 +122,7 @@ jobs:
cd ../..
shell: cmd
if: matrix.compiler == 'msvc16'
overwrite: true

- name: Generate Artifacts
run: |
Expand Down Expand Up @@ -145,3 +150,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name == 'release' && github.event.action == 'published'
overwrite: true

0 comments on commit ce093e4

Please sign in to comment.