File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11on :
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
1014concurrency :
1115 group : ${{ github.ref || 'ci' }}/action.ts
7074 - run : pkgx --version
7175 - uses : ./
7276 - run : pkgx --version
77+
78+ dist :
79+ runs-on : ubuntu-latest
80+ steps :
81+ - uses : actions/checkout@v4
82+ - run : npm i
83+ - uses : ./
84+ - run : npm run dist
85+ - run : rm /usr/local/bin/pkgx
86+ - run : ' ! pkgx --version'
87+ - run : git clean -xfd
88+ - uses : ./
89+ - run : pkgx --version
Original file line number Diff line number Diff line change 7777git checkout -b v$v_new -branch
7878npm run dist
7979git add ./action.js
80- git commit --message $v_new
80+ git commit --message v $v_new
8181git tag v$v_new
8282git push origin v$v_new
8383
You can’t perform that action at this time.
0 commit comments