From 66b6ebecc2a8f6107dcf52bd7b2ec3f7f5304942 Mon Sep 17 00:00:00 2001 From: VeyronSakai Date: Sun, 28 Apr 2024 00:34:10 +0900 Subject: [PATCH 1/2] Remove unused step --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba287d3..ae27074 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,9 +86,6 @@ jobs: message: "Update README.md" add: "README.md" new_branch: ${{ env.SOURCE_BRANCH }} - - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "7.0.x" - name: Create pull request and merge if: ${{ steps.commit-package-json.outputs.committed == 'true' || steps.commit-readme.outputs.committed == 'true'}} env: From 7eea9679a820758cb6af416edffa6310cb5d80bd Mon Sep 17 00:00:00 2001 From: VeyronSakai Date: Sun, 28 Apr 2024 00:36:39 +0900 Subject: [PATCH 2/2] Fix release workflow --- .github/workflows/release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae27074..8763257 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,6 @@ env: GITHUB_BOT_NAME: github-actions[bot] GITHUB_BOT_EMAIL: github-actions[bot]@users.noreply.github.com -concurrency: - group: ${{ github.workflow }} - cancel-in-progress: true - jobs: paths-filter: name: Paths Filter @@ -41,6 +37,9 @@ jobs: name: Update Draft if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') || github.event_name == 'workflow_dispatch'}} runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true outputs: tag_name: ${{ steps.release-drafter.outputs.tag_name }} steps: @@ -54,6 +53,9 @@ jobs: needs: update-draft if: ${{ github.event_name == 'workflow_dispatch' }} runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true env: VERSION: ${{ needs.update-draft.outputs.tag_name }} SOURCE_BRANCH: github-actions/update-files/${{ github.run_number }} @@ -99,6 +101,9 @@ jobs: needs: [update-draft, paths-filter] environment: Release runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }} + cancel-in-progress: false if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged && needs.paths-filter.outputs.package_json == 'true' }} env: VERSION: ${{ needs.update-draft.outputs.tag_name }}