File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ permissions:
1515jobs :
1616 update-stable :
1717 runs-on : ubuntu-latest
18- if : ${{ github.ref_name == 'main ' }}
18+ if : ${{ ( github.event_name == 'push' && github.ref_type == 'tag') || github.event_name == 'workflow_run ' }}
1919 steps :
2020 - uses : actions/checkout@v5
2121 with :
3232 build :
3333 runs-on : ubuntu-latest
3434 needs : update-stable
35+ if : ${{ (github.event_name == 'push' && github.ref_type == 'tag') || github.event_name == 'workflow_run' }}
3536 steps :
3637 - name : (debug) print workflow trigger
3738 run : |
7273 publish :
7374 runs-on : ubuntu-latest
7475 needs : build
75- if : ${{ github.ref_name == 'main ' }}
76+ if : ${{ ( github.event_name == 'push' && github.ref_type == 'tag') || github.event_name == 'workflow_run ' }}
7677 steps :
7778 - name : download build artifacts
7879 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments