This commit is contained in:
@@ -36,7 +36,6 @@ jobs:
|
||||
- name: Build modpack
|
||||
run: |
|
||||
packwiz modrinth export -o "${{ github.event.repository.name }}-modrinth.mrpack"
|
||||
packwiz curseforge export -o "${{ github.event.repository.name }}-curseforge.zip"
|
||||
|
||||
- name: Delete old versions
|
||||
continue-on-error: true
|
||||
@@ -44,9 +43,6 @@ jobs:
|
||||
curl -v -X DELETE -s \
|
||||
-u "strawberries:${{ secrets.TOKEN }}" \
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/${{ github.event.repository.name }}/latest/${{ github.event.repository.name }}-modrinth.mrpack"
|
||||
curl -v -X DELETE -s \
|
||||
-u "strawberries:${{ secrets.TOKEN }}" \
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/${{ github.event.repository.name }}/latest/${{ github.event.repository.name }}-curseforge.zip"
|
||||
|
||||
- name: Upload to Gitea Generic Packages
|
||||
run: |
|
||||
@@ -55,8 +51,4 @@ jobs:
|
||||
-u strawberries:${{ secrets.TOKEN }} \
|
||||
--upload-file "${{ github.event.repository.name }}-modrinth.mrpack" \
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/${{ github.event.repository.name }}/latest/${{ github.event.repository.name }}-modrinth.mrpack"
|
||||
curl -v \
|
||||
-u strawberries:${{ secrets.TOKEN }} \
|
||||
--upload-file "${{ github.event.repository.name }}-curseforge.zip" \
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/${{ github.event.repository.name }}/latest/${{ github.event.repository.name }}-curseforge.zip"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user