Skip to content

Commit

Permalink
Update inox-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GraphR00t authored Apr 30, 2024
1 parent 684643a commit c3209d5
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/inox-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,6 @@ jobs:

- name: Update Assets
run: |
BINARY_ASSET_NAME=inox-linux-amd64.tar.gz
CHECKSUM_ASSET_NAME=inox-linux-amd64.tar.gz.sha256
BINARY_ASSET_NAME=inox-linux-amd64.tar.gz CHECKSUM_ASSET_NAME=inox-linux-amd64.tar.gz.sha256\
bash -eux scripts/ci/update_assets.sh
# Compute checksum
SHA256_SUM=$(sha256sum ${RELEASE_ASSET_PATH} | cut -d ' ' -f 1)
echo ${SHA256_SUM} >${CHECKSUM_ASSET_NAME}
# Create archive
tar cvfz ${BINARY_ASSET_NAME} ./inox
# Upload archive and checksum file
assets-uploader=github.com/wangyoucao577/assets-uploader/cmd/[email protected]
go run $assets-uploader -logtostderr \
-f ${BINARY_ASSET_NAME} \
-mediatype 'application/gzip' \
-token ${INPUT_GITHUB_TOKEN} \
-tag=dev \
-retry 3
go run $assets-uploader -logtostderr \
-f ${CHECKSUM_ASSET_NAME} \
-mediatype 'text/plain' \
-token ${INPUT_GITHUB_TOKEN} \
-tag=dev \
-retry 3

0 comments on commit c3209d5

Please sign in to comment.