File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ jobs:
2121 - name : Archive
2222 working-directory : target/release
2323 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
2829 - uses : actions/upload-artifact@v1
2930 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