Skip to content

Commit 42b6dff

Browse files
authored
Update manual-nightly.yml
ability to create releases manually separately from nightly
1 parent 93d0efd commit 42b6dff

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/manual-nightly.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: manual-nightly
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release:
7+
description: 'release'
8+
required: true
9+
default: 'nightly'
410
jobs:
511
manual-nightly:
612
runs-on: ubuntu-latest
@@ -19,14 +25,14 @@ jobs:
1925
- name: Download libs
2026
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
2127
- name: Create Package
22-
run: scripts/ci/package_builds.sh;
28+
run: scripts/ci/package_builds.sh -a ${{ github.event.inputs.release }};
2329
id: createpackage
2430
- name: Update Release
2531
uses: IsaacShelton/update-existing-release@v1.3.2
2632
with:
2733
token: ${{ secrets.GITHUB_TOKEN }}
28-
tag: nightly
29-
release: nightly
34+
tag: ${{ github.event.inputs.release }}
35+
release: ${{ github.event.inputs.release }}
3036
prerelease: false
3137
replace: true
3238
files: ${{ steps.createpackage.outputs.FILES_OUT }}

0 commit comments

Comments
 (0)