From 70f9cf7ddbd49d587cb4e23d2d3bfbcb7618803f Mon Sep 17 00:00:00 2001 From: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com> Date: Mon, 13 Jun 2022 08:29:21 +0200 Subject: [PATCH] Fix snap arch build (#151) * Update snapcraft CI * Update args * Disable destructive mode * Disable arm64 snap arch * Restore experimental flag * Remove publish job --- .github/workflows/snap.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index c0963b1..ad7bb12 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -15,11 +15,6 @@ jobs: runs-on: ubuntu-latest outputs: snap-file: ${{ steps.build-snap.outputs.snap }} - strategy: - matrix: - architecture: - - linux/amd64 - - linux/arm64 steps: - uses: actions/checkout@v2 - uses: snapcore/action-build@v1 @@ -38,23 +33,3 @@ jobs: with: name: micro-ros-agent-snap path: ${{ steps.build-snap.outputs.snap }} - - publish: - if: github.ref == 'refs/heads/foxy' || startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - needs: build - strategy: - matrix: - architecture: - - linux/amd64 - - linux/arm64 - steps: - - uses: actions/download-artifact@v3 - with: - name: micro-ros-agent-snap - path: . - - uses: snapcore/action-publish@v1 - with: - store_login: ${{ secrets.STORE_LOGIN }} - snap: ${{needs.build.outputs.snap-file}} - release: ${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}