Skip to content

Commit 838bdf6

Browse files
committed
reorder
1 parent 897447d commit 838bdf6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ jobs:
9191
run: |
9292
git config user.email "gh-actions@users.noreply.github.com"
9393
git config user.name "GitHub Actions"
94+
- name: Tag commit
95+
uses: tvdias/github-tagger@v0.0.1
96+
with:
97+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
98+
tag: "${{ env.version }}"
9499
- name: Install dependencies
95100
run: yarn
96101
- uses: actions/setup-node@v3
@@ -143,11 +148,6 @@ jobs:
143148
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
144149
# HACK: Restore npm package name
145150
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
146-
- name: Tag commit
147-
uses: tvdias/github-tagger@v0.0.1
148-
with:
149-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
150-
tag: "${{ env.version }}"
151151
- name: Upload docs
152152
uses: actions/upload-artifact@v3
153153
with:

0 commit comments

Comments
 (0)