Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Jun 2, 2024
1 parent 7bc0728 commit ceb43f0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: release

on:
push:
tags:
- "v*.*.*"

jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: softprops/action-gh-release@v2
with:
draft: true
build:
needs: create
strategy:
matrix:
os: [macos, windows]
fail-fast: false
runs-on: "${{ matrix.os }}-latest"
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
# https://github.com/actions/runner/issues/2958
- if: matrix.os == 'macos'
uses: actions/setup-python@v5
with:
python-version: '3.x'
- if: matrix.os == 'macos'
run: pip install setuptools
- run: npm ci
- run: npm run make
- uses: softprops/action-gh-release@v2
with:
draft: true
files: |
out/make/**/*.{exe,dmg}
fail_on_unmatched_files: true

0 comments on commit ceb43f0

Please sign in to comment.