ci-test (working now) #2
1 changed files with 14 additions and 7 deletions
|
@ -43,11 +43,18 @@ jobs:
|
||||||
echo "---"
|
echo "---"
|
||||||
tree builds
|
tree builds
|
||||||
- name: create release
|
- name: create release
|
||||||
id: release
|
run: |
|
||||||
uses: https://github.com/ncipollo/release-action@v1
|
curl -X 'POST' \
|
||||||
with:
|
'https://git.euph.dev/api/v1/repos/gamedev/snake/releases' \
|
||||||
skipIfReleaseExists: false
|
-H 'accept: application/json' \
|
||||||
tag: ${{ steps.package-version.outputs.current-version}}
|
-H 'Content-Type: application/json' \
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
-H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' \
|
||||||
name: Test
|
-d '{
|
||||||
|
"body": "testA",
|
||||||
|
"draft": true,
|
||||||
|
"name": "testB",
|
||||||
|
"prerelease": true,
|
||||||
|
"tag_name": "testC",
|
||||||
|
"target_commitish": "testD"
|
||||||
|
}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue