Skip to content

Commit a403854

Browse files
committed
chore: update git action
1 parent e27efc5 commit a403854

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/common_build_upload.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,11 @@ jobs:
137137

138138
- name: Rename tag file
139139
if: startsWith(github.ref, 'refs/tags/')
140-
continue-on-error: true
141140
run: |
142-
cp ./${{steps.vars.outputs.artifact_name}} > ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64
141+
cp ./${{steps.vars.outputs.artifact_name}} ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64.tar.gz
143142
144143
- name: shasum
145-
run: shasum -a 256 ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64 > ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64_linux_amd64.sha256
144+
run: shasum -a 256 ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64.tar.gz > ./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64_linux_amd64.sha256
146145
shell: bash
147146

148147
- name: upload artifacts
@@ -159,7 +158,7 @@ jobs:
159158
continue-on-error: true
160159
with:
161160
files: |
162-
./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64
161+
./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64.tar.gz
163162
./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_linux_amd64_linux_amd64.sha256
164163
165164
- name: upload ftp

0 commit comments

Comments
 (0)