From 863479d7db67e9c44db2402679d502ff7bfffdfa Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Wed, 19 Jan 2022 13:17:08 +0100 Subject: [PATCH 1/7] fix workflow syntax --- .github/workflows/build-artifacts.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 0f9ab19db77..0e24bb310a9 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -43,7 +43,7 @@ jobs: .maintain/client_release.sh - name: Echo Output - run: echo $${{ env.picasso-wasm }} + run: echo ${{ env.picasso-wasm }} - name: Build wasm with srtool id: runtime_release @@ -52,7 +52,7 @@ jobs: - name: Upload Compact Picasso wasm # TODO only upload wasm that has changed uses: svenstaro/upload-release-action@v2 - if: "$${{ env.picasso-wasm }} == 1" + if: "${{ env.picasso-wasm }} == 1" with: repo_token: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} file: ./runtime/picasso/target/srtool/release/wbuild/picasso-runtime/picasso_runtime.compact.wasm @@ -62,7 +62,7 @@ jobs: - name: Upload Compact Dali wasm # TODO only upload wasm that has changed uses: svenstaro/upload-release-action@v2 - if: "$${{ env.dali-wasm }} == 1" + if: "${{ env.dali-wasm }} == 1" with: repo_token: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} file: ./runtime/dali/target/srtool/release/wbuild/dali-runtime/dali_runtime.compact.wasm @@ -72,7 +72,7 @@ jobs: - name: Upload Compact Composable wasm # TODO only upload wasm that has changed uses: svenstaro/upload-release-action@v2 - if: "$${{ env.composable-wasm }} == 1" + if: "${{ env.composable-wasm }} == 1" with: repo_token: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} file: ./runtime/picasso/target/srtool/release/wbuild/composable-runtime/composable_runtime.compact.wasm From 090364d36af33f57661ba97eff7d44ed4c693c14 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 09:13:27 +0100 Subject: [PATCH 2/7] Add cleanup step --- .github/workflows/check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d560e5e74e9..ace87e1a8db 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,6 +26,9 @@ jobs: - sre steps: - uses: actions/checkout@v2 + - name: Clean up + continue-on-error: true + run: docker system prune --force --all --volumes - name: Compile Check with WASM run: | /home/runner/.cargo/bin/cargo check --features=runtime-benchmarks --workspace --exclude integration-tests From b6edf30406f307c0859ca848c33a681a76526ec5 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 12:34:12 +0100 Subject: [PATCH 3/7] add bump version --- .github/workflows/release-drafter.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 978ab894f75..bcb433d6637 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -11,3 +11,9 @@ jobs: - uses: release-drafter/release-drafter@v5 env: GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} + + - name: Bump version and push tag + uses: anothrNick/github-tag-action@1.36.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true From f23149c5163ce99af0140f1fe898bb4d27093396 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 12:36:40 +0100 Subject: [PATCH 4/7] bump version and changelog --- .github/release-drafter.yml | 2 +- .github/workflows/release-drafter.yml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 98df43ddb77..18215cd5901 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -12,7 +12,7 @@ categories: - 'bug' - title: '🧰 Maintenance' label: 'chore' - - title: 'Community release' + - title: 'Changelog' label: - major - minor diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index bcb433d6637..a9db5869f70 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -8,12 +8,14 @@ jobs: update_release_draft: runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} - - name: Bump version and push tag uses: anothrNick/github-tag-action@1.36.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true + + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} + + From a3e397b888bbdff3dc193c91806aeedc6aa72ef0 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 12:37:57 +0100 Subject: [PATCH 5/7] bump version and changelog --- .github/workflows/check.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 07ae95d90f2..bb2a1ec8cc7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,9 +32,6 @@ jobs: docker system prune --force --all --volumes - uses: actions/checkout@v2 - - name: Clean up - continue-on-error: true - run: docker system prune --force --all --volumes - name: Compile Check with WASM run: | /home/runner/.cargo/bin/cargo check --features=runtime-benchmarks --workspace --exclude integration-tests From 02de3958be4e07909b410ec222597b57dd7f17c8 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 12:41:28 +0100 Subject: [PATCH 6/7] bump version and changelog --- .github/release-drafter.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 18215cd5901..9ddad7dac1b 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -12,11 +12,6 @@ categories: - 'bug' - title: '🧰 Maintenance' label: 'chore' - - title: 'Changelog' - label: - - major - - minor - - patch change-template: '- $TITLE @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. autolabeler: From ebdfa5261943b7137ed1152be9ebc6657d676ee0 Mon Sep 17 00:00:00 2001 From: haroldsphinx Date: Thu, 20 Jan 2022 12:51:48 +0100 Subject: [PATCH 7/7] bump version and changelog --- .github/workflows/release-drafter.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index a9db5869f70..284256f222d 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -2,7 +2,6 @@ name: Release Drafter on: push: branches: - - main - releases jobs: update_release_draft: @@ -11,7 +10,7 @@ jobs: - name: Bump version and push tag uses: anothrNick/github-tag-action@1.36.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }} WITH_V: true - uses: release-drafter/release-drafter@v5