Skip to content

Commit

Permalink
tidy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Aug 15, 2024
1 parent e6b6f3b commit 3f50998
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.19.x'
go-version-file: ./go.mod

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand All @@ -33,7 +33,7 @@ jobs:
gh_ci_key: ${{ secrets.GH_CI_KEY }}
ziti_ci_gpg_key: ${{ secrets.ZITI_CI_GPG_KEY }}
ziti_ci_gpg_key_id: ${{ secrets.ZITI_CI_GPG_KEY_ID }}
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release-')
run: |
$(go env GOPATH)/bin/ziti-ci configure-git
$(go env GOPATH)/bin/ziti-ci tag -v -f version
Expand Down

0 comments on commit 3f50998

Please sign in to comment.