From 838bdf609574ed303a55f494dad9400ae9421da6 Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Fri, 6 Jan 2023 23:24:02 +0000 Subject: [PATCH] reorder --- .github/workflows/test-and-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 981c586..cf69932 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -91,6 +91,11 @@ jobs: run: | git config user.email "gh-actions@users.noreply.github.com" git config user.name "GitHub Actions" + - name: Tag commit + uses: tvdias/github-tagger@v0.0.1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + tag: "${{ env.version }}" - name: Install dependencies run: yarn - uses: actions/setup-node@v3 @@ -143,11 +148,6 @@ jobs: yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version) # HACK: Restore npm package name sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json - - name: Tag commit - uses: tvdias/github-tagger@v0.0.1 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - tag: "${{ env.version }}" - name: Upload docs uses: actions/upload-artifact@v3 with: