Skip to content

Commit e4e532f

Browse files
committed
CI: Properly detect when releases are tagged
1 parent 9a5d6cc commit e4e532f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/crux-llvm-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
event-tag: ${{ steps.config.outputs.tag }}
3232
event-schedule: ${{ steps.config.outputs.schedule }}
3333
publish: ${{ steps.config.outputs.publish }}
34-
release: ${{ steps.env.outputs.release }}
34+
release: ${{ steps.config.outputs.release }}
3535
retention-days: ${{ steps.config.outputs.retention-days }}
3636
steps:
3737
- uses: actions/checkout@v2
@@ -52,7 +52,7 @@ jobs:
5252
.github/ci.sh output tag $EVENT_TAG
5353
.github/ci.sh output schedule $EVENT_SCHEDULE
5454
.github/ci.sh output publish $({ $EVENT_TAG || $EVENT_SCHEDULE; } && echo true || echo false)
55-
.github/ci.sh output release $([[ "refs/heads/release-$(.github/ci.sh crux_llvm_ver)" == "${{ github.event.ref }}" ]] && echo true || echo false)
55+
.github/ci.sh output release $([[ "refs/heads/release-crux-$(.github/ci.sh crux_llvm_ver)" == "${{ github.event.ref }}" ]] && echo true || echo false)
5656
.github/ci.sh output retention-days $($RELEASE && echo 90 || echo 5)
5757
5858
build:

.github/workflows/crux-mir-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
event-tag: ${{ steps.config.outputs.tag }}
3434
event-schedule: ${{ steps.config.outputs.schedule }}
3535
publish: ${{ steps.config.outputs.publish }}
36-
release: ${{ steps.env.outputs.release }}
36+
release: ${{ steps.config.outputs.release }}
3737
retention-days: ${{ steps.config.outputs.retention-days }}
3838
steps:
3939
- uses: actions/checkout@v2
@@ -54,7 +54,7 @@ jobs:
5454
.github/ci.sh output tag $EVENT_TAG
5555
.github/ci.sh output schedule $EVENT_SCHEDULE
5656
.github/ci.sh output publish $({ $EVENT_TAG || $EVENT_SCHEDULE; } && echo true || echo false)
57-
.github/ci.sh output release $([[ "refs/heads/release-$(.github/ci.sh crux_mir_ver)" == "${{ github.event.ref }}" ]] && echo true || echo false)
57+
.github/ci.sh output release $([[ "refs/heads/release-crux-$(.github/ci.sh crux_mir_ver)" == "${{ github.event.ref }}" ]] && echo true || echo false)
5858
.github/ci.sh output retention-days $($RELEASE && echo 90 || echo 5)
5959
6060
build:

0 commit comments

Comments
 (0)