From 0ce802a3429849eb34c5c8ee611ce398a647d231 Mon Sep 17 00:00:00 2001 From: Vikram Rangnekar Date: Fri, 2 Apr 2021 02:16:35 -0700 Subject: [PATCH] build: removing snapcraft it's broken --- .github/workflows/build.yml | 22 +++++++++++----------- .goreleaser.yml | 32 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11d1baae..2518b5e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,11 @@ jobs: with: fetch-depth: 0 - - 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@v2 @@ -59,12 +59,12 @@ jobs: go test -v -db=mysql -run=Example_query go test -v -db=mysql -run=Example_sub - - name: Snapcraft Login - if: success() && startsWith(github.ref, 'refs/tags/v') - env: - SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} - run: | - echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - + # - name: Snapcraft Login + # if: success() && startsWith(github.ref, 'refs/tags/v') + # env: + # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} + # run: | + # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - - name: Import GPG key if: success() && startsWith(github.ref, 'refs/tags/v') diff --git a/.goreleaser.yml b/.goreleaser.yml index 82b92eb5..704fbb26 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -79,19 +79,19 @@ scoop: description: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler." license: Apache-2.0 -snapcrafts: - - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - 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. - replacements: - darwin: macOS - amd64: x86_64 - apps: - graphjin: - plugs: ["home", "network", "network-bind"] - grade: stable - confinement: strict - publish: true - license: Apache-2.0 - base: core18 +# snapcrafts: +# - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' +# 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. +# replacements: +# darwin: macOS +# amd64: x86_64 +# apps: +# graphjin: +# plugs: ["home", "network", "network-bind"] +# grade: stable +# confinement: strict +# publish: true +# license: Apache-2.0 +# base: core18