Skip to content

Commit

Permalink
Build snap but no upload for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Hook25 committed Jul 29, 2024
1 parent 258a60c commit 5f4dc6c
Showing 1 changed file with 3 additions and 64 deletions.
67 changes: 3 additions & 64 deletions .github/workflows/snapcraft8_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,7 @@ jobs:
with:
name: checkbox${{ matrix.releases }}_${{ matrix.arch }}
path: checkbox-core-snap/series${{ matrix.releases }}/*.snap
- uses: Wandalen/[email protected]_js_action
name: Upload the snap to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
command: |
for snap in checkbox-core-snap/series${{ matrix.releases }}/*.snap ; \
do \
echo "Uploading $snap..." ; \
snapcraft upload $snap --release edge ; \
done

snap_frontend_native:
strategy:
fail-fast: false
Expand Down Expand Up @@ -163,26 +152,7 @@ jobs:
with:
name: series_${{ matrix.type }}${{ matrix.releases }}${{ matrix.arch }}
path: checkbox-snap/series_${{ matrix.type }}${{ matrix.releases }}/*.snap
- uses: Wandalen/[email protected]_js_action
name: Upload the snaps to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
command: |
for snap in checkbox-snap/series_${{ matrix.type }}${{ matrix.releases }}/*.snap ; \
do \
echo "Uploading $snap..." ; \
if [ ${{ matrix.type }} = 'classic' ]; then \
if [ ${{ matrix.releases }} = '22' ]; then \
snapcraft upload $snap --release ${{ matrix.releases }}.04/edge,latest/edge ; \
else \
snapcraft upload $snap --release ${{ matrix.releases }}.04/edge ; \
fi \
else \
snapcraft upload $snap --release ${{ matrix.type }}${{ matrix.releases }}/edge ; \
fi ; \
done

snap_runtime_remote_build:
strategy:
fail-fast: false
Expand Down Expand Up @@ -260,18 +230,7 @@ jobs:
with:
name: runtime_snap${{ matrix.releases }}_${{ matrix.arch }}
path: "checkbox*.snap"
- uses: Wandalen/[email protected]_js_action
name: Upload the snap to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
command: |
for snap in checkbox*.snap ; \
do \
echo "Uploading $snap..." ; \
snapcraft upload $snap --release edge ; \
done

snap_frontend_remote_build:
strategy:
fail-fast: false
Expand Down Expand Up @@ -351,23 +310,3 @@ jobs:
with:
name: frontend_snaps${{ matrix.type }}${{ matrix.releases }}
path: "checkbox*.snap"
- uses: Wandalen/wretry.action/[email protected]_js_action
name: Upload the snaps to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
command: |
for snap in checkbox*.snap ; \
do \
echo "Uploading $snap..." ; \
if [ ${{ matrix.type }} = 'classic' ]; then \
if [ ${{ matrix.releases }} = '22' ]; then \
snapcraft upload $snap --release ${{ matrix.releases }}.04/edge,latest/edge ; \
else \
snapcraft upload $snap --release ${{ matrix.releases }}.04/edge ; \
fi \
else \
snapcraft upload $snap --release ${{ matrix.type }}${{ matrix.releases }}/edge ; \
fi ; \
done

0 comments on commit 5f4dc6c

Please sign in to comment.