mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 09:05:42 +00:00
Changed artifact location
This commit is contained in:
parent
af50137481
commit
7ec36e318a
21
.github/workflows/flathub_push_cooker.yml
vendored
21
.github/workflows/flathub_push_cooker.yml
vendored
|
@ -59,19 +59,18 @@ jobs:
|
||||||
# manipulating manifest
|
# manipulating manifest
|
||||||
mv flathub.yml net.retrodeck.retrodeck.yml
|
mv flathub.yml net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
# latest release name
|
# Getting latest release name
|
||||||
version=$(\
|
# version=$(\
|
||||||
curl -sL \
|
# curl -sL \
|
||||||
-H "Accept: application/vnd.github+json" \
|
# -H "Accept: application/vnd.github+json" \
|
||||||
-H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
|
# -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
|
||||||
https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \
|
# https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \
|
||||||
| jq .[0].tag_name \
|
# | jq .[0].tag_name \
|
||||||
| tr -d \" \
|
# | tr -d \" \
|
||||||
)
|
# )
|
||||||
|
|
||||||
sha=$(curl -sL https://github.com/XargonWan/RetroDECK-cooker/releases/download/$version/RetroDECK-Artifact.sha)
|
sha=$(curl -sL https://artifacts.retrodeck.net/artifacts/RetroDECK-Artifact.sha)
|
||||||
|
|
||||||
sed -i "s#__VERSION__#$version#g" net.retrodeck.retrodeck.yml
|
|
||||||
sed -i "s#__SHA__#$sha#g" net.retrodeck.retrodeck.yml
|
sed -i "s#__SHA__#$sha#g" net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
echo -e "Resulting manifest:\n"
|
echo -e "Resulting manifest:\n"
|
||||||
|
|
|
@ -41,5 +41,5 @@ modules:
|
||||||
- cp -rn files/* /app
|
- cp -rn files/* /app
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/XargonWan/RetroDECK-cooker/releases/download/__VERSION__/RetroDECK-Artifact.tar.gz
|
url: https://artifacts.retrodeck.net/artifacts/RetroDECK-Artifact.tar.gz
|
||||||
sha256: __SHA__
|
sha256: __SHA__
|
Loading…
Reference in a new issue