mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-03 15:08:12 +01:00
Fix download URL in CF upload workflow (#2090)
This commit is contained in:
parent
d6aa07d93f
commit
b47fa37cfa
4
.github/workflows/curseforge-upload.yml
vendored
4
.github/workflows/curseforge-upload.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- name: Download release artifact for upload
|
||||
run: |
|
||||
curl 'https://api.github.com/repos/plan/plan-player-analytics/releases/${{ github.event.release.id }}/assets' | jq -r '.[] | {name: .name, url: .browser_download_url} | select(.url | strings | test("Fabric"))' > asset.txt
|
||||
curl 'https://api.github.com/repos/plan-player-analytics/plan/releases/${{ github.event.release.id }}/assets' | jq -r '.[] | {name: .name, url: .browser_download_url} | select(.url | strings | test("Fabric"))' > asset.txt
|
||||
jq -r '.url' asset.txt > url.txt
|
||||
jq -r '.name' asset.txt > name.txt
|
||||
wget -i url.txt
|
||||
@ -36,7 +36,7 @@ jobs:
|
||||
steps:
|
||||
- name: Download release artifact for upload
|
||||
run: |
|
||||
curl 'https://api.github.com/repos/plan/plan-player-analytics/releases/${{ github.event.release.id }}/assets' | jq -r '.[] | {name: .name, url: .browser_download_url} | select(.url | strings | test("Fabric"))' > asset.txt
|
||||
curl 'https://api.github.com/repos/plan-player-analytics/plan/releases/${{ github.event.release.id }}/assets' | jq -r '.[] | {name: .name, url: .browser_download_url} | select(.url | strings | test("Fabric"))' > asset.txt
|
||||
jq -r '.url' asset.txt > url.txt
|
||||
jq -r '.name' asset.txt > name.txt
|
||||
wget -i url.txt
|
||||
|
Loading…
Reference in New Issue
Block a user