Comment out snapcraft

pull/1452/head
Piero Toffanin 2022-04-22 13:32:08 -04:00
rodzic 1cc082d3f6
commit beec0603ac
2 zmienionych plików z 77 dodań i 77 usunięć

Wyświetl plik

@ -1,56 +1,56 @@
name: Publish Snap # name: Publish Snap
on: # on:
push: # push:
branches: # branches:
- master # - master
tags: # tags:
- v** # - v**
jobs: # jobs:
build-and-release: # build-and-release:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
strategy: # strategy:
matrix: # matrix:
architecture: # architecture:
- amd64 # - amd64
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
- name: Set Swap Space # - name: Set Swap Space
uses: pierotofy/set-swap-space@master # uses: pierotofy/set-swap-space@master
with: # with:
swap-size-gb: 12 # swap-size-gb: 12
- name: Build # - name: Build
id: build # id: build
uses: diddlesnaps/snapcraft-multiarch-action@v1 # uses: diddlesnaps/snapcraft-multiarch-action@v1
with: # with:
architecture: ${{ matrix.architecture }} # architecture: ${{ matrix.architecture }}
- name: Review # - name: Review
uses: diddlesnaps/snapcraft-review-tools-action@v1 # uses: diddlesnaps/snapcraft-review-tools-action@v1
with: # with:
snap: ${{ steps.build.outputs.snap }} # snap: ${{ steps.build.outputs.snap }}
isClassic: 'false' # isClassic: 'false'
- name: Publish unstable builds to Edge # - name: Publish unstable builds to Edge
if: github.ref == 'refs/heads/master' # if: github.ref == 'refs/heads/master'
uses: snapcore/action-publish@v1 # uses: snapcore/action-publish@v1
with: # with:
store_login: ${{ secrets.STORE_LOGIN }} # store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }} # snap: ${{ steps.build.outputs.snap }}
release: edge # release: edge
- name: Publish tagged prerelease builds to Beta # - name: Publish tagged prerelease builds to Beta
# These are identified by having a hyphen in the tag name, e.g.: v1.0.0-beta1 # # These are identified by having a hyphen in the tag name, e.g.: v1.0.0-beta1
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') # if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
uses: snapcore/action-publish@v1 # uses: snapcore/action-publish@v1
with: # with:
store_login: ${{ secrets.STORE_LOGIN }} # store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }} # snap: ${{ steps.build.outputs.snap }}
release: beta # release: beta
- name: Publish tagged stable or release-candidate builds to Candidate # - name: Publish tagged stable or release-candidate builds to Candidate
# These are identified by NOT having a hyphen in the tag name, OR having "-RC" or "-rc" in the tag name. # # These are identified by NOT having a hyphen in the tag name, OR having "-RC" or "-rc" in the tag name.
if: startsWith(github.ref, 'refs/tags/v1') && ( ( ! contains(github.ref, '-') ) || contains(github.ref, '-RC') || contains(github.ref, '-rc') ) # if: startsWith(github.ref, 'refs/tags/v1') && ( ( ! contains(github.ref, '-') ) || contains(github.ref, '-RC') || contains(github.ref, '-rc') )
uses: snapcore/action-publish@v1 # uses: snapcore/action-publish@v1
with: # with:
store_login: ${{ secrets.STORE_LOGIN }} # store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }} # snap: ${{ steps.build.outputs.snap }}
release: candidate # release: candidate

Wyświetl plik

@ -24,29 +24,29 @@ jobs:
platforms: linux/amd64 platforms: linux/amd64
push: false push: false
snapcraft: # snapcraft:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
strategy: # strategy:
matrix: # matrix:
architecture: # architecture:
- amd64 # - amd64
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
- name: Set Swap Space # - name: Set Swap Space
uses: pierotofy/set-swap-space@master # uses: pierotofy/set-swap-space@master
with: # with:
swap-size-gb: 12 # swap-size-gb: 12
- name: Build # - name: Build
id: build # id: build
uses: diddlesnaps/snapcraft-multiarch-action@v1 # uses: diddlesnaps/snapcraft-multiarch-action@v1
with: # with:
architecture: ${{ matrix.architecture }} # architecture: ${{ matrix.architecture }}
- name: Review # - name: Review
uses: diddlesnaps/snapcraft-review-tools-action@v1 # uses: diddlesnaps/snapcraft-review-tools-action@v1
with: # with:
snap: ${{ steps.build.outputs.snap }} # snap: ${{ steps.build.outputs.snap }}
isClassic: 'false' # isClassic: 'false'
windows: windows:
runs-on: windows-2019 runs-on: windows-2019