Skip to content

Commit ed9195d

Browse files
committed
test against “distrified” action.js as well
1 parent e84bf32 commit ed9195d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
on:
2+
push:
3+
branches:
4+
- main
25
workflow_call:
36
pull_request:
47
paths:
58
- action.js
69
- action.yml
710
- package.json
811
- installer.sh
12+
- .github/workflows/ci.action.yml
913

1014
concurrency:
1115
group: ${{ github.ref || 'ci' }}/action.ts
@@ -17,6 +21,7 @@ jobs:
1721
steps:
1822
- uses: actions/checkout@v4
1923
- run: npm i
24+
- run: npm run dist
2025
- uses: ./
2126
with:
2227
version: null

scripts/publish-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fi
7777
git checkout -b v$v_new-branch
7878
npm run dist
7979
git add ./action.js
80-
git commit --message $v_new
80+
git commit --message v$v_new
8181
git tag v$v_new
8282
git push origin v$v_new
8383

0 commit comments

Comments
 (0)