From ef0fe740c201b9a9429e8239be44cbaefb86a8dd Mon Sep 17 00:00:00 2001 From: Jet Li Date: Wed, 18 Dec 2019 22:29:40 +0800 Subject: [PATCH] add release to cd --- .github/workflows/cd.yml | 14 ++++++++++++++ crates/conduit-wasm/src/components/footer.rs | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 21cc1a7..71f7b0e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,3 +22,17 @@ jobs: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} BRANCH: gh-pages FOLDER: target/deploy + - name: Package + shell: bash + run: | + cd target + tar czvf conduit-wasm.tar.gz deploy + shasum -a 256 conduit-wasm.tar.gz > conduit-wasm.sha256 + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: | + target/conduit-wasm.tar.gz + target/conduit-wasm.sha256 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/crates/conduit-wasm/src/components/footer.rs b/crates/conduit-wasm/src/components/footer.rs index 2450036..2ea2555 100644 --- a/crates/conduit-wasm/src/components/footer.rs +++ b/crates/conduit-wasm/src/components/footer.rs @@ -25,7 +25,7 @@ impl Component for Footer { { "© 2019. An interactive learning project from" } { "Thinkster" } - { ". Code licensed under MIT." } + { ". Code licensed under MIT. " }