Skip to content

Commit

Permalink
Github CI: add manual release build option
Browse files Browse the repository at this point in the history
  • Loading branch information
epilys committed May 23, 2022
1 parent 35f1234 commit 965d319
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
# this is _not_ a regex, see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- '[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:
inputs:
release:
description: 'Make release'
jobs:
setup:
name: Set up
Expand Down Expand Up @@ -289,15 +292,15 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: wasmer-linux-aarch64.tar.gz
name: wasmer-linux-aarch64
path: dist
if-no-files-found: error
retention-days: 2

release:
needs: [setup, build, linux_aarch64]
runs-on: ubuntu-latest
if: needs.setup.outputs.DOING_RELEASE == '1'
if: needs.setup.outputs.DOING_RELEASE == '1' || github.event.inputs.release != ''
steps:
- name: Download the Artifacts
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 965d319

Please sign in to comment.