Skip to content

Bump shellhub to v0.17.0 #56

Bump shellhub to v0.17.0

Bump shellhub to v0.17.0 #56

Workflow file for this run

name: Build
on:
push:
pull_request:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- amd64
- armhf
- arm64
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v3
- run: |
docker pull --platform ${{ matrix.platform }} gustavosbarreto/snapcraft:core22
docker tag gustavosbarreto/snapcraft:core22 diddledani/snapcraft:core22
- uses: diddlesnaps/snapcraft-multiarch-action@v1
id: build
with:
architecture: ${{ matrix.platform }}
- uses: diddlesnaps/snapcraft-review-action@v1
with:
snap: ${{ steps.build.outputs.snap }}
isClassic: 'true'
- uses: softprops/action-gh-release@v2
with:
draft: true
files: ${{ steps.build.outputs.snap }}
if: startsWith(github.ref, 'refs/tags/')
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: stable
if: github.event_name == 'releasea' && !github.event.release.prerelease