ci-test (working now) #2

Merged
Snoweuph merged 82 commits from ci-test into master 2023-04-05 19:20:53 +00:00
Showing only changes of commit 40a050ebc6 - Show all commits

View file

@ -43,11 +43,18 @@ jobs:
echo "---"
tree builds
- name: create release
id: release
uses: https://github.com/ncipollo/release-action@v1
with:
skipIfReleaseExists: false
tag: ${{ steps.package-version.outputs.current-version}}
token: ${{ secrets.RELEASE_TOKEN }}
name: Test
run: |
curl -X 'POST' \
'https://git.euph.dev/api/v1/repos/gamedev/snake/releases' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' \
-d '{
"body": "testA",
"draft": true,
"name": "testB",
"prerelease": true,
"tag_name": "testC",
"target_commitish": "testD"
}'