Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zulh-civo committed Sep 23, 2021
1 parent 70409f9 commit 885f41b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: goreleaser
name: release

on:
push:
tags:
- 'v*.*.*'

jobs:
goreleaser:
docs-and-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -47,6 +47,21 @@ jobs:
examples/**/*.sh
CHANGELOG.md
github-token: ${{ secrets.GHTOKEN }}

goreleaser:
needs: docs-and-changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Unshallow
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x

- name: Import GPG key
id: import_gpg
Expand Down

0 comments on commit 885f41b

Please sign in to comment.