Skip to content

Commit

Permalink
tweak GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
porjo committed Nov 24, 2023
1 parent 82a50ec commit 4835f6f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
name: goreleaser

on:
workflow_run:
workflows: ["gotests"]
types:
- completed
push:
tags:
- '*'
# keep this manual for now
#on:
# push:
# tags:
# - '*'

permissions:
contents: write

jobs:
goreleaser:
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit 4835f6f

Please sign in to comment.