File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 55 AWS_SECRET_ACCESS_KEY : ${{ secrets.NIGHTLY_BUILD_AWS_SECRET_ACCESS_KEY }}
66 AWS_BUCKET : ${{ vars.NIGHTLY_BUILD_AWS_BUCKET }}
77 AWS_REGION : ${{ vars.NIGHTLY_BUILD_AWS_REGION }}
8+ RELEASE : ${{ github.ref_type == 'tag' && github.ref_name || 'nightly' }}
89
910on :
1011 push :
5556 with :
5657 allowUpdates : true
5758 artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
58- tag : ${{ github.ref_type == 'tag' && '' || 'nightly' }}
59+ tag : ${{ env.RELEASE }}
5960
6061 build-linux-aarch64 :
6162 env :
9394 with :
9495 allowUpdates : true
9596 artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
96- tag : ${{ github.ref_type == 'tag' && '' || 'nightly' }}
97+ tag : ${{ env.RELEASE }}
9798
9899 build-macos-aarch64 :
99100 env :
@@ -133,7 +134,7 @@ jobs:
133134 with :
134135 allowUpdates : true
135136 artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
136- tag : ${{ github.ref_type == 'tag' && '' || 'nightly' }}
137+ tag : ${{ env.RELEASE }}
137138
138139 build-macos-x86_64 :
139140 env :
@@ -171,4 +172,4 @@ jobs:
171172 with :
172173 allowUpdates : true
173174 artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
174- tag : ${{ github.ref_type == 'tag' && '' || 'nightly' }}
175+ tag : ${{ env.RELEASE }}
You can’t perform that action at this time.
0 commit comments