File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1414 name : ' Draft Release'
1515 runs-on : ubuntu-latest
1616 outputs :
17- version : ${{ steps make-release.outputs.version }}
17+ version : ${{ steps. make-release.outputs.version }}
1818 steps :
1919 - name : ' Check out code'
2020 uses : actions/checkout@v4
@@ -65,11 +65,11 @@ jobs:
6565 runs-on : ubuntu-latest
6666 environment : production
6767 needs : release
68+ env :
69+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70+ VERSION : ${{ needs.draft-release.outputs.version }}
6871 steps :
6972 - name : ' Finalise release'
70- env :
71- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72- VERSION : ${{ needs.draft-release.outputs.version }}
7373 run : |
7474 set -x
7575 gh release edit ${VERSION} \
@@ -81,11 +81,10 @@ jobs:
8181 GITHUB_TOKEN : ${{ secrets.JENKINS_GITHUB_PAT }}
8282 run : |
8383 set -x
84- version="$(cat package/version)"
8584 curl --fail \
8685 -X POST \
8786 -H "Accept: application/vnd.github+json" \
8887 -H "Authorization: Bearer ${GITHUB_TOKEN}" \
8988 -H "X-GitHub-Api-Version: 2022-11-28" \
9089 https://api.github.com/repos/runtimeverification/devops/dispatches \
91- -d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/haskell-backend","version":"'${version }'"}}'
90+ -d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/haskell-backend","version":"'${VERSION }'"}}'
You can’t perform that action at this time.
0 commit comments