File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 30
30
env :
31
31
# Necessary for Docker manifest
32
32
DOCKER_CLI_EXPERIMENTAL : " enabled"
33
+ outputs :
34
+ version : ${{ steps.version.outputs.version }}
33
35
steps :
34
36
- uses : actions/checkout@v3
35
37
with :
@@ -117,6 +119,9 @@ jobs:
117
119
# AC_APIKEY_ID: ${{ secrets.AC_APIKEY_ID }}
118
120
# AC_APIKEY_FILE: /tmp/apple_apikey.p8
119
121
122
+ - id : version
123
+ run : echo "version=${CODER_RELEASE_VERSION}" >> $GITHUB_OUTPUT
124
+
120
125
# - name: Delete Apple Developer certificate and API key
121
126
# run: rm -f /tmp/{apple_cert.p12,apple_cert_password.txt,apple_apikey.p8}
122
127
@@ -248,13 +253,12 @@ jobs:
248
253
249
254
- name : ls build
250
255
run : |
251
- git reset --hard
252
256
ls -lh build
253
257
254
258
- name : Publish release
255
259
run : |
256
260
./scripts/publish_release.sh \
257
- ${{ (github.event.inputs.dry_run || github.event.inputs.snapshot) && '--dry-run' }} \
261
+ ${{ (github.event.inputs.dry_run || github.event.inputs.snapshot) && '--dry-run' || '--version needs.release.outputs.version' }} \
258
262
./build/*.msi \
259
263
./build/*.zip \
260
264
./build/*.tar.gz \
You can’t perform that action at this time.
0 commit comments