File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ jobs:
21
21
- name : Archive
22
22
working-directory : target/release
23
23
run : |
24
- echo ${{github.sha}} ${{github.ref}} | tee git-ref
25
- shasum -a 256 codechain | tee sha256sums
26
- mkdir codechain-${{matrix.os}}-${{github.sha}}
27
- mv codechain git-ref sha256sums codechain-${{matrix.os}}-${{github.sha}}
24
+ mkdir artifacts
25
+ echo ${{github.sha}} ${{github.ref}} | tee artifacts/git-ref
26
+ shasum -a 256 codechain | tee artifacts/sha256sums
27
+ CODECHAIN_VERSION="$(./codechain --version | cut -d ' ' -f 2)"
28
+ tar cvfz artifacts/codechain-${CODECHAIN_VERSION}-$(uname -m)-$(echo $(uname) | tr '[:upper:]' '[:lower:]').tar.gz codechain
28
29
- uses : actions/upload-artifact@v1
29
30
with :
30
- name : codechain-${{matrix.os}}-${{github.sha }}
31
- path : target/release/codechain-${{matrix.os}}-${{github.sha}}
31
+ name : codechain-${{ matrix.os }}
32
+ path : target/release/artifacts
You can’t perform that action at this time.
0 commit comments