Skip to content

Commit 022ff4c

Browse files
authored
Merge pull request #110 from cdk-team/main-dev
fix(gh action - release): automatically failed because it uses a deprecated version
2 parents 4e23c85 + adbae2f commit 022ff4c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build_and_release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: CDK CI
22

33
on:
4+
workflow_dispatch:
45
release:
5-
types: [released]
6+
types: [released, prereleased]
67

78
jobs:
89

@@ -13,15 +14,15 @@ jobs:
1314
steps:
1415
- uses: actions/setup-go@v2
1516
with:
16-
go-version: 1.15
17+
go-version: 1.22.2
1718
- uses: actions/setup-node@v1
1819
with:
1920
node-version: 10.x
2021
- uses: actions/checkout@v2
2122
with:
2223
fetch-depth: 0
2324

24-
- uses: actions/download-artifact@v2
25+
- uses: actions/download-artifact@v4
2526
- name: Upload Release and Renew Changelog
2627
env:
2728
UPLOAD_URL: ${{ github.event.release.upload_url }}
@@ -30,6 +31,7 @@ jobs:
3031
RELEASE_URL: ${{ github.event.release.url }}
3132

3233
run: |
34+
set -euo pipefail
3335
set -x
3436
3537
go get github.com/mitchellh/gox

0 commit comments

Comments
 (0)