mirror of
https://github.com/simple64/simple64.git
synced 2026-11-11 23:08:42 +01:00
another snap attempt
This commit is contained in:
1 parent
f059d856ae
commit
3f808951da
4 files changed
+7
-4
No files matched your search
@@ -5,7 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'snap/**'
|
||||
- "snap/**"
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
@@ -38,5 +38,7 @@ jobs:
|
||||
run: |
|
||||
pip install requests
|
||||
export M64P_LINUX_URL=$(python3 ../scripts/get_linux_asset.py ${{ env.VERSION }})
|
||||
sed -i 's/M64PVERSION/${{ env.VERSION }}/g' snap/snapcraft.yaml
|
||||
sed -i 's/M64PURL/$M64P_LINUX_URL/g' snap/snapcraft.yaml
|
||||
snapcraft --enable-experimental-extensions
|
||||
snapcraft upload --release=stable *.snap
|
||||
@@ -37,6 +37,7 @@ jobs:
|
||||
run: |
|
||||
pip install requests
|
||||
export M64P_LINUX_URL=$(python3 ../scripts/get_linux_asset.py ${{ env.VERSION }})
|
||||
sed -i 's/M64PURL/$M64P_LINUX_URL/g' Containerfile
|
||||
podman build . --tag quay.io/loganmc10/m64p:latest --tag quay.io/loganmc10/m64p:${{ env.VERSION }}
|
||||
podman push quay.io/loganmc10/m64p:latest
|
||||
podman push quay.io/loganmc10/m64p:${{ env.VERSION }}
|
||||
|
||||
Reference in new issue
Block a user