Skip to content

Commit

Permalink
ci: trigger release on a PR build
Browse files Browse the repository at this point in the history
  • Loading branch information
dhth committed Sep 12, 2024
1 parent 6cc2abd commit fe1d515
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@
name: Github Actions for Releases

on:
pull_request:
push:
tags:
- "*"

jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
version: ['1.18']
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -34,7 +31,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
go-version: 1.18
check-latest: true
cache: true
- name: Install Cosign
Expand Down

0 comments on commit fe1d515

Please sign in to comment.