Skip to content

Commit

Permalink
Fix path to Windows exe for uploading to release
Browse files Browse the repository at this point in the history
  • Loading branch information
miselin committed Mar 22, 2024
1 parent 2444e1b commit 6624874
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
include:
- os: ubuntu-latest
filename: tibasic
target: ubuntu
release_filename: tibasic-linux
content_type: application/octet-stream
- os: macos-latest
filename: tibasic
target: macos
release_filename: tibasic-osx
content_type: application/octet-stream
- os: windows-latest
filename: tibasic.exe
target: windows
filename: Release/tibasic.exe
release_filename: tibasic.exe
content_type: application/octet-stream

runs-on: ${{ matrix.os }}
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Build Compiler
working-directory: ${{runner.workspace}}/build
run: cmake --build .
run: cmake --build . --config Release

- name: Upload to Release
uses: actions/upload-release-asset@v1
Expand All @@ -49,5 +49,5 @@ jobs:
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{runner.workspace}}/build/src/${{ matrix.filename }}
asset_name: ${{ matrix.target }}-${{ matrix.filename }}
asset_name: ${{ matrix.release_filename }}
asset_content_type: ${{ matrix.content_type }}

0 comments on commit 6624874

Please sign in to comment.