Skip to content

Commit

Permalink
fix(ci): yet another try to fix the ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
feuerrot committed Oct 12, 2020
1 parent 40379e8 commit b07373a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: goreleaser

on:
push:
tags:
- 'v*'

jobs:
goreleaser:
Expand All @@ -11,11 +13,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Release
uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: create tag

on:
push:
branches:
- master

jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Do Release
uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true

0 comments on commit b07373a

Please sign in to comment.