Skip to content

Commit afd8563

Browse files
committed
fix release pipeline
1 parent bcff4e2 commit afd8563

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
matrix:
1111
os: [linux, darwin]
1212
arch: [amd64, arm64]
13-
outputs:
14-
artifacts-path: ${{ steps.set-path.outputs.path }}
1513
steps:
1614
- uses: actions/checkout@v3
1715
- uses: actions/setup-go@v4
@@ -23,11 +21,8 @@ jobs:
2321
ext=""
2422
if [ "${{ matrix.os }}" == "windows" ]; then ext=".exe"; fi
2523
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o releases/dsy-${{ matrix.os }}-${{ matrix.arch }}${ext} ./cmd/dsy
26-
- name: Set artifacts path
27-
id: set-path
28-
run: echo "::set-output name=path::releases/*"
29-
- name: Upload artifact for next job
30-
uses: actions/upload-artifact@v3
24+
- name: Upload artifact for release
25+
uses: actions/upload-artifact@v4
3126
with:
3227
name: binaries-${{ matrix.os }}-${{ matrix.arch }}
3328
path: releases/*
@@ -36,20 +31,20 @@ jobs:
3631
runs-on: ubuntu-latest
3732
steps:
3833
- uses: actions/checkout@v3
39-
- name: Download all binaries
40-
uses: actions/download-artifact@v3
34+
- name: Download all artifacts
35+
uses: actions/download-artifact@v4
4136
with:
4237
name: binaries-linux-amd64
4338
path: releases/
44-
- uses: actions/download-artifact@v3
39+
- uses: actions/download-artifact@v4
4540
with:
4641
name: binaries-linux-arm64
4742
path: releases/
48-
- uses: actions/download-artifact@v3
43+
- uses: actions/download-artifact@v4
4944
with:
5045
name: binaries-darwin-amd64
5146
path: releases/
52-
- uses: actions/download-artifact@v3
47+
- uses: actions/download-artifact@v4
5348
with:
5449
name: binaries-darwin-arm64
5550
path: releases/

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package version
22

3-
const Version = "v1.0.11"
3+
const Version = "v1.0.12"

0 commit comments

Comments
 (0)