Skip to content

Commit

Permalink
ci: enable pre-release from custom branch (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Oct 4, 2022
1 parent e928f6d commit 4ef3198
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ on:
description: 'Pre-release version (without "v" prefix)'
required: true

branch:
description: 'Branch of this repo to build (default "master")'
default: master
required: false

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}

- uses: actions/setup-node@v1
with:
node-version: 16
Expand Down

0 comments on commit 4ef3198

Please sign in to comment.