Remove Web, and enable releases
This commit is contained in:
@@ -84,6 +84,19 @@ jobs:
|
||||
- name: Download artifacts
|
||||
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
|
||||
id: create_release
|
||||
shell: bash
|
||||
@@ -93,7 +106,7 @@ jobs:
|
||||
-H "Content-Type: application/json" \
|
||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases" \
|
||||
-d '{
|
||||
"tag_name": "latest",
|
||||
"tag_name": "build-${{ github.sha }}",
|
||||
"name": "Snapshot Build",
|
||||
"prerelease": true
|
||||
}')
|
||||
|
||||
Reference in New Issue
Block a user