Skip to content

Commit 476bb76

Browse files
authored
try to fix release action (#418)
1 parent 07bd284 commit 476bb76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ jobs:
6868
github_token: ${{ secrets.GITHUB_TOKEN }}
6969
goos: ${{ matrix.goos }}
7070
goarch: ${{ matrix.goarch }}
71-
goversion: "https://golang.org/dl/go1.20.1.linux-amd64.tar.gz"
71+
goversion: "https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
7272
ldflags: -X "github.com/qiniu/qshell/v2/iqshell/common/version.version=${{ env.APP_VERSION }}" -extldflags "-static"
7373
project_path: "./main"
7474
retry: '100'
7575
- name: Upload Release Asset to Qiniu
7676
run: |
7777
set -e
78-
cd ./main/build-artifacts-*
78+
cd ./main/
7979
FILENAME="qshell-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz"
8080
if [ "${{ matrix.goos }}" = "windows" ]; then
8181
FILENAME="qshell-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}.zip"
8282
fi
83-
../../qshell rput --resumable-api-v2 --overwrite "$PUBLISH_BUCKET_NAME" "$FILENAME" "$FILENAME"
83+
../qshell rput --resumable-api-v2 --overwrite "$PUBLISH_BUCKET_NAME" "$FILENAME" "$FILENAME"
8484
env:
8585
PUBLISH_BUCKET_NAME: ${{ secrets.PUBLISH_BUCKET_NAME }}

0 commit comments

Comments
 (0)