File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,19 @@ permissions:
41
41
42
42
concurrency : ${{ github.workflow }}-${{ github.ref }}
43
43
44
+ env :
45
+ # Use string semantics for negating the boolean, otherwise it will always
46
+ # be false. See https://github.com/actions/runner/issues/1483.
47
+ CODER_RELEASE : ${{ github.event.inputs.snapshot == 'false' }}
48
+ CODER_RELEASE_INCREMENT : ${{ github.event.inputs.increment }}
49
+ CODER_RELEASE_DRAFT : ${{ github.event.inputs.draft }}
50
+ CODER_DRY_RUN : ${{ github.event.inputs.dry_run || github.event.inputs.snapshot }}
51
+
44
52
jobs :
45
53
release :
46
54
name : Create and publish
47
55
runs-on : ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }}
48
56
env :
49
- CODER_RELEASE : ${{ github.event.inputs.snapshot == 'false' }}
50
- CODER_RELEASE_INCREMENT : ${{ github.event.inputs.increment }}
51
- CODER_RELEASE_DRAFT : ${{ github.event.inputs.draft }}
52
- CODER_DRY_RUN : ${{ github.event.inputs.dry_run || github.event.inputs.snapshot }}
53
57
# Necessary for Docker manifest
54
58
DOCKER_CLI_EXPERIMENTAL : " enabled"
55
59
steps :
You can’t perform that action at this time.
0 commit comments