Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepami committed Jul 31, 2022
1 parent 193ab14 commit 2f04270
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
config:
- os: ubuntu-latest
rid: linux-x64
filename: Interpreter
type: application/x-pie-executable
- os: macos-latest
rid: osx-x64
filename: Interpreter
type: application/x-mach-binary
- os: windows-latest
rid: win-x64
filename: Interpreter.exe
type: application/x-dosexec
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
Expand All @@ -52,6 +52,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_name: interpreter-${{ matrix.config.rid }}.zip
asset_path: ./output/${{ matrix.config.filename }}
asset_content_type: application/zip
asset_name: interpreter-${{ matrix.config.rid }}${{ matrix.config.rid == 'win-x64' && '.exe' || '' }}
asset_path: ./output/Interpreter${{ matrix.config.rid == 'win-x64' && '.exe' || '' }}
asset_content_type: ${{ matrix.config.type }}

0 comments on commit 2f04270

Please sign in to comment.