From a00feb4a6ae80ea824b76e4ef278b3da654fd46a Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Wed, 18 Oct 2023 13:50:55 +0200 Subject: [PATCH] chore: disable release action --- .github/workflows/release.yml | 66 ----------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index de075fa..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: Release ic-websocket-cdk-mo - -# only run when the tests complete -on: - workflow_run: - workflows: [ic-websocket-cdk-mo tests] - types: - - completed - branches: - - main - -jobs: - publish: - runs-on: ubuntu-latest - # only run if the tests were successful - if: ${{ github.event.workflow_run.conclusion == 'success' }} - outputs: - version: ${{ steps.npm-publish.outputs.version }} - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - - uses: aviate-labs/setup-dfx@v0.2.6 - with: - dfx-version: 0.14.1 - env: - DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }} - - - name: install mops - run: npm i ic-mops -g - - - run: | - dfx identity use action - mops import-identity -- "$(dfx identity export action)" - mops publish --no-docs - echo "version=$(cat mops.toml | grep "version =" | cut -d\" -f2)" >> "$GITHUB_OUTPUT" - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - - tag: - needs: publish - runs-on: ubuntu-latest - outputs: - version: ${{ steps.tag_version.outputs.new_tag }} - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Bump version and push tag - id: tag_version - uses: mathieudutour/github-tag-action@v6.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - custom_tag: ${{ needs.publish.outputs.version }} - - release: - needs: tag - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ needs.tag.outputs.version }}