From 36d89904d6e193dc54639b47ac86a17525e14a98 Mon Sep 17 00:00:00 2001 From: dosco <832235+dosco@users.noreply.github.com> Date: Fri, 12 May 2023 14:07:38 -0700 Subject: [PATCH] fix: disabled snap releases --- .github/workflows/build.yml | 22 +++++++++++----------- .goreleaser.yml | 27 +++++++++++++-------------- 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1efc2dd4..ba67aa57 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,11 +33,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Snapcraft - if: startsWith(github.ref, 'refs/tags/v') - run: | - sudo apt-get update - sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft + # - name: Set up Snapcraft + # if: startsWith(github.ref, 'refs/tags/v') + # run: | + # sudo apt-get update + # sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft - name: Set up Go uses: actions/setup-go@v4 @@ -55,12 +55,12 @@ jobs: - name: Run Tests run: make test - - name: Snapcraft Login - if: success() && startsWith(github.ref, 'refs/tags/v') - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} - run: | - snapcraft login + # - name: Snapcraft Login + # if: success() && startsWith(github.ref, 'refs/tags/v') + # env: + # SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} + # run: | + # snapcraft login - name: Import GPG key if: success() && startsWith(github.ref, 'refs/tags/v') diff --git a/.goreleaser.yml b/.goreleaser.yml index 7453ccf1..2a5fecd6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -82,17 +82,16 @@ scoop: homepage: https://graphjin.com description: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler." license: Apache-2.0 - -snapcrafts: - - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - summary: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler" - description: | - GraphJin gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically compiled into an efficient SQL query. Use it either as a library or a standalone service. - apps: - graphjin: - plugs: ["home", "network", "network-bind"] - grade: stable - confinement: strict - publish: true - license: Apache-2.0 - base: core18 +# snapcrafts: +# - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" +# summary: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler" +# description: | +# GraphJin gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically compiled into an efficient SQL query. Use it either as a library or a standalone service. +# apps: +# graphjin: +# plugs: ["home", "network", "network-bind"] +# grade: stable +# confinement: strict +# publish: true +# license: Apache-2.0 +# base: core18