File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*"
7+ workflow_dispatch :
78
89permissions :
910 id-token : write
8586 name : darwin-arm-prebuilds
8687 path : packages/core/prebuilds
8788
88- - name : Publish the libraries
89+ - if : github.event_name == 'push'
90+ name : Publish the libraries
8991 run : |
9092 if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
9193 pnpm publish -r --access=public --no-git-checks --tag=alpha
9698 NPM_CONFIG_PROVENANCE : true
9799 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
98100
99- - name : Create a draft release
101+ - if : github.event_name == 'push'
102+ name : Create a draft release
100103 run : |
101104 NEW_VERSION=$(pnpm lerna list --json | jq -r '.[] | select(.name == "@codspeed/core") | .version')
102105 gh release create v$NEW_VERSION --title "v$NEW_VERSION" --generate-notes -d
You can’t perform that action at this time.
0 commit comments