Skip to content

Commit

Permalink
fix: flow for amd
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Mar 6, 2024
1 parent aeba6cf commit f491fa6
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/release_snapstore.workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Snapstore Build
name: snap amd64
on:
release:
types: [created]
Expand All @@ -11,26 +11,27 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- amd64
- arm64
# strategy:
# matrix:
# platform:
# - amd64
# - arm64
env:
WIREDASH_PROJECT_ID: ${{ secrets.WIREDASH_PROJECT_ID }}
WIREDASH_PROJECT_SECRET: ${{ secrets.WIREDASH_PROJECT_SECRET }}
steps:
- uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
# - uses: snapcore/action-build@v1
# id: snapcraft
- uses: diddlesnaps/snapcraft-multiarch-action@v1
- uses: snapcore/action-build@v1
id: snapcraft
with:
architecture: ${{ matrix.platform }}
environment: |
WIREDASH_PROJECT_ID=${{ secrets.WIREDASH_PROJECT_ID }}
WIREDASH_PROJECT_SECRET=${{ secrets.WIREDASH_PROJECT_SECRET }}}}
# - uses: diddlesnaps/snapcraft-multiarch-action@v1
# id: snapcraft
# with:
# architecture: ${{ matrix.platform }}
# environment: |
- name: Test installation
run: |
sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
Expand Down

0 comments on commit f491fa6

Please sign in to comment.