chore: v1 branch maintainance releaser

This commit is contained in:
Tim Möhlmann 2023-03-22 15:09:28 +02:00
parent eea2ed1a51
commit eb0e9a1b7a
3 changed files with 5 additions and 6 deletions

View file

@ -3,6 +3,7 @@ on:
push:
branches:
- main
- 1.13.x
tags-ignore:
- '**'
pull_request:
@ -15,7 +16,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ['1.16', '1.17', '1.18', '1.19', '1.20']
go: ['1.18', '1.19', '1.20']
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v3
@ -31,7 +32,7 @@ jobs:
release:
runs-on: ubuntu-20.04
needs: [test]
if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/v1' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: