Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
elonzh committed May 13, 2021
1 parent 53ba4b8 commit 7c9dc7b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# https://github.com/golangci/golangci-lint-action
name: golangci-lint
name: lint
on:
push:
pull_request:
jobs:
golangci:
name: lint
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# https://goreleaser.com/ci/actions/
name: goreleaser
name: release
on:
push:
tags:
- v*
workflow_run:
workflows: [ lint, test ]
branches: [ main ]
types:
- completed
jobs:
goreleaser:
needs: [ lint, test ]
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 7c9dc7b

Please sign in to comment.