File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
1616 id : pkg
1717 run : |
1818 PACKAGENAME=$(git diff HEAD^ --stat | grep /Versions.toml | cut -d/ -f2 | uniq)
19- echo "::set-output name=packagename::$PACKAGENAME"
19+ echo "Package name is: $PACKAGENAME"
20+ echo "packagename=$PACKAGENAME" >> "$GITHUB_ENV"
2021 - name : Run `repository_dispatch` on updated repo, to trigger tagbot
2122 run : |
22- curl -X POST https://api.github.com/repos/HolyLab/${{ steps.pkg.outputs. packagename } }.jl/dispatches \
23+ curl -X POST https://api.github.com/repos/HolyLab/${packagename}.jl/dispatches \
2324 -H 'Accept: application/vnd.github.everest-preview+json' \
2425 -u ${{ secrets.TAGBOT_PAT_TEST }} \
25- --data '{"event_type": "TriggerTagBot_${{ steps.pkg.outputs. packagename } }", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'
26+ --data '{"event_type": "TriggerTagBot_${packagename}", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'
You can’t perform that action at this time.
0 commit comments