Skip to content

Commit

Permalink
Fix artifact upload content types
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Iselin committed Mar 22, 2024
1 parent e8e67b2 commit 67a6153
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
- os: ubuntu-latest
src: tibasic
target: ubuntu
content_type: application/octet-stream
- os: macos-latest
filename: tibasic
target: macos
content_type: application/octet-stream
- os: windows-latest
filename: tibasic.exe
target: windows
content_type: application/octet-stream

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -47,3 +50,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{runner.workspace}}/build/src/${{ matrix.filename }}
asset_name: ${{ matrix.target }}-${{ matrix.filename }}
asset_content_type: ${{ matrix.content_type }}
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
release_name: Release ${{ github.ref }}
body: |
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
# toggle out of draft/pre-release to build artifacts & publish.
draft: true
prerelease: true

0 comments on commit 67a6153

Please sign in to comment.