Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- name: Archive
working-directory: target/release
run: |
echo ${{github.sha}} ${{github.ref}} | tee git-ref
shasum -a 256 codechain | tee sha256sums
mkdir codechain-${{matrix.os}}-${{github.sha}}
mv codechain git-ref sha256sums codechain-${{matrix.os}}-${{github.sha}}
mkdir artifacts
echo ${{github.sha}} ${{github.ref}} | tee artifacts/git-ref
shasum -a 256 codechain | tee artifacts/sha256sums
CODECHAIN_VERSION="$(./codechain --version | cut -d ' ' -f 2)"
tar cvfz artifacts/codechain-${CODECHAIN_VERSION}-$(uname -m)-$(echo $(uname) | tr '[:upper:]' '[:lower:]').tar.gz codechain
- uses: actions/upload-artifact@v1
with:
name: codechain-${{matrix.os}}-${{github.sha}}
path: target/release/codechain-${{matrix.os}}-${{github.sha}}
name: codechain-${{ matrix.os }}
path: target/release/artifacts