Skip to content

Commit

Permalink
test ci on change push
Browse files Browse the repository at this point in the history
  • Loading branch information
candonov authored Apr 5, 2023
1 parent 3f26086 commit 595f4fb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Go releaser
on:
push:
tags:
- v0.**
branches:
- main
paths:
- 'app/**'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -32,8 +39,6 @@ jobs:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set artifact name as environment variable
run: echo "ARTIFACT_NAME=$(echo '${{ steps.goreleaser.outputs.artifacts }}' | jq -r '.[] | select(.type == "Archive").name')" >> $GITHUB_ENV
Expand All @@ -46,5 +51,4 @@ jobs:
- name: Commit & Push changes
uses: actions-js/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "Updating claim bucketKey version to ${{ env.ARTIFACT_NAME }}"

0 comments on commit 595f4fb

Please sign in to comment.