Skip to content

Commit 028d1ab

Browse files
committed
Merge branch 'master' into release/snapstore
2 parents 300d0d2 + 6ee495f commit 028d1ab

2 files changed

Lines changed: 38 additions & 6 deletions

File tree

.github/workflows/release_snapstore.workflow.yml renamed to .github/workflows/release_snapstore_amd.workflow.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
matrix:
1313
platform:
1414
- amd64
15-
- arm64
1615
# env:
1716
# WIREDASH_PROJECT_ID: ${{ secrets.WIREDASH_PROJECT_ID }}
1817
# WIREDASH_PROJECT_SECRET: ${{ secrets.WIREDASH_PROJECT_SECRET }}
@@ -24,11 +23,6 @@ jobs:
2423
channel: "stable"
2524
- uses: snapcore/action-build@v1
2625
id: snapcraft
27-
# - uses: diddlesnaps/snapcraft-multiarch-action@v1
28-
# id: snapcraft
29-
# with:
30-
# architecture: ${{ matrix.platform }}
31-
# environment: |
3226
- name: Test installation
3327
run: |
3428
sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: snap amd64
2+
on:
3+
release:
4+
types: [created]
5+
push:
6+
branches:
7+
- release/snapstore
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
platform:
14+
# https://forum.snapcraft.io/t/build-on-multiple-architectures-with-github-actions/39161/3
15+
- arm64
16+
# env:
17+
# WIREDASH_PROJECT_ID: ${{ secrets.WIREDASH_PROJECT_ID }}
18+
# WIREDASH_PROJECT_SECRET: ${{ secrets.WIREDASH_PROJECT_SECRET }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Install Flutter
22+
uses: subosito/flutter-action@v2
23+
with:
24+
channel: "stable"
25+
- uses: diddlesnaps/snapcraft-multiarch-action@v1
26+
id: snapcraft
27+
with:
28+
architecture: ${{ matrix.platform }}
29+
- name: Test installation
30+
run: |
31+
sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
32+
- name: Publish to Snapstore Edge
33+
uses: snapcore/action-publish@v1
34+
env:
35+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
36+
with:
37+
snap: ${{ steps.snapcraft.outputs.snap }}
38+
release: edge

0 commit comments

Comments
 (0)