From a1ce71ff7e772e75ba3efa6503d8e08038a28f50 Mon Sep 17 00:00:00 2001 From: Stefan Buck Date: Mon, 12 Sep 2022 00:05:02 +0200 Subject: [PATCH] fix: Ensure releases can be pinned to SHAs #23 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b961cd..caad8c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,6 @@ jobs: - run: npm ci - run: npm run build - run: rm .gitignore # dist/ folder is ignored by default - - run: npx semantic-release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | git config user.name github-actions git config user.email github-actions@github.com @@ -26,3 +23,6 @@ jobs: git push --force https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npx semantic-release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}