Remove Web, and enable releases
This commit is contained in:
@@ -84,6 +84,19 @@ jobs:
|
|||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
|
||||||
|
- name: Create tag (required by Gitea)
|
||||||
|
id: create_tag
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
curl -s -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/tags" \
|
||||||
|
-d '{
|
||||||
|
"tag_name": "build-${{ github.sha }}",
|
||||||
|
"target": "master"
|
||||||
|
}'
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -93,7 +106,7 @@ jobs:
|
|||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases" \
|
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases" \
|
||||||
-d '{
|
-d '{
|
||||||
"tag_name": "latest",
|
"tag_name": "build-${{ github.sha }}",
|
||||||
"name": "Snapshot Build",
|
"name": "Snapshot Build",
|
||||||
"prerelease": true
|
"prerelease": true
|
||||||
}')
|
}')
|
||||||
|
|||||||
Reference in New Issue
Block a user