Skip to content

Commit 90d89b1

Browse files
authored
Uploading nightly builds to a release (#3524)
* uploading nightly build to a stable url (release) * disable switching to draft after upload * using draft for release other than nightly * using draft for release other than nightly
1 parent 4a4a112 commit 90d89b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/cargo-build-macos-binary/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ runs:
6161
path: ./${{ env.ASSET_FULL_NAME }}.tar.gz
6262
retention-days: 3
6363
- name: Deploy archive to GitHub release
64-
if: "${{ inputs.version != 'nightly' }}"
6564
uses: quickwit-inc/upload-to-github-release@v1
6665
env:
6766
GITHUB_TOKEN: ${{ inputs.token }}
6867
with:
6968
file: ${{ env.ASSET_FULL_NAME }}.tar.gz
7069
overwrite: true
70+
draft: ${{ inputs.version != 'nightly' }}
7171
tag_name: ${{ inputs.version }}

.github/actions/cross-build-binary/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ runs:
5757
path: ./${{ env.ASSET_FULL_NAME }}.tar.gz
5858
retention-days: 3
5959
- name: Upload archive
60-
if: "${{ inputs.version != 'nightly' }}"
6160
uses: quickwit-inc/upload-to-github-release@v1
6261
env:
6362
GITHUB_TOKEN: ${{ inputs.token }}
6463
with:
6564
file: ${{ env.ASSET_FULL_NAME }}.tar.gz
6665
overwrite: true
66+
draft: ${{ inputs.version != 'nightly' }}
6767
tag_name: ${{ inputs.version }}

0 commit comments

Comments
 (0)