Skip to content

Commit

Permalink
wip release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Apr 9, 2024
1 parent e09eafd commit b896d81
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,25 @@ on:
env:
APP_NAME: 'tim'
NIM_VERSION: 'stable'
MAINTAINER: 'George Lemon'
MAINTAINER: 'OpenPeeps'
jobs:
build-artifact:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
# - windows-latest
- macOS-latest
steps:
- uses: actions/checkout@v1
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ env.NIM_VERSION }}
- run: npm install cmake-js -g
- run: choosenim show path -y
- run: nimble build -Y -d:release
- run: denim build src/${{github.event.repository.name}}.nim -r -y --cmake
- name: Create artifact
run: |
os="${{ runner.os }}"
Expand Down Expand Up @@ -81,9 +84,9 @@ jobs:
- os: ubuntu-latest
asset_name_suffix: linux.tar.gz
asset_content_type: application/gzip
- os: windows-latest
asset_name_suffix: windows.zip
asset_content_type: application/zip
# - os: windows-latest
# asset_name_suffix: windows.zip
# asset_content_type: application/zip
- os: macOS-latest
asset_name_suffix: macos.tar.gz
asset_content_type: application/gzip
Expand Down

0 comments on commit b896d81

Please sign in to comment.