Skip to content

Commit 1f270a3

Browse files
committed
Try express dependency on configuration.
Also delete redundant `tag: ${{ github.ref }}` input, as the git ref is used by default by the action. Also delete redundant `tag_name:` input, as the tag name is created when the release is created.
1 parent d6a3746 commit 1f270a3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ jobs:
157157
permissions:
158158
contents: write
159159
needs:
160+
- configuration
160161
- integration-tests
161162
- linux-arm64
162163
runs-on: ubuntu-latest
@@ -196,18 +197,13 @@ jobs:
196197
shasum -a 256 "$asset" >"$asset.sha256"
197198
gpg --digest-algo=sha512 --detach-sig --armor -u 0x575159689BEFB442 "$asset"
198199
done
199-
- name: Set GitHub ref variables
200-
id: github_ref_vars
201-
run: |
202-
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
203200
- name: Create GitHub release (final)
204201
id: github_release_final
205202
if: "!startsWith(github.ref, 'refs/tags/rc/')"
206203
uses: ncipollo/[email protected]
207204
env:
208205
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
209206
with:
210-
tag: ${{ github.ref }}
211207
body: |
212208
See https://haskellstack.org/ for installation and upgrade instructions.
213209
@@ -227,7 +223,6 @@ jobs:
227223
env:
228224
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229225
with:
230-
tag: ${{ github.ref }}
231226
body: |
232227
**Changes since v[INSERT PREVIOUS VERSION]:**
233228
@@ -241,7 +236,6 @@ jobs:
241236
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
242237
with:
243238
file: "_release/*"
244-
tag_name: ${{ steps.github_ref_vars.outputs.SOURCE_TAG }}
245239
draft: true
246240
prerelease: false
247241
overwrite: true
@@ -253,7 +247,6 @@ jobs:
253247
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
254248
with:
255249
file: "_release/*"
256-
tag_name: ${{ steps.github_ref_vars.outputs.SOURCE_TAG }}
257250
draft: true
258251
prerelease: true
259252
overwrite: true

0 commit comments

Comments
 (0)