Skip to content

Commit

Permalink
fix: disabled snap releases
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed May 12, 2023
1 parent 10b4196 commit 36d8990
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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')
Expand Down
27 changes: 13 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 comment on commit 36d8990

@vercel
Copy link

@vercel vercel bot commented on 36d8990 May 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.