another snap attempt

This commit is contained in:
Logan McNaughton committed 2022-02-06 06:59:53 -07:00
1 parent f059d856ae
commit 3f808951da
4 files changed
+7 -4

No files matched your search

+3 -1
View File
@@ -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
+1
View File
@@ -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 }}