File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release pipeline
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ publish :
10+ if : " ! contains(github.event.head_commit.message, '[skip ci]')"
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v1
14+ - uses : bahmutov/npm-install@v1
15+ - name : Semantic Release
16+ uses : cycjimmy/semantic-release-action@v2
17+ with :
18+ extra_plugins : |
19+ @semantic-release/[email protected] 20+ @semantic-release/[email protected] 21+ env :
22+ GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
23+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
24+
25+ # !TRICKY
26+ # https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/td-p/38085
27+ always_job :
28+ name : Always run job
29+ runs-on : ubuntu-latest
30+ steps :
31+ - name : Always run
32+ run : echo "TRICKY run"
You can’t perform that action at this time.
0 commit comments