From 595f4fb39c0b2d53d711ab18a0e2f4a6210de3e5 Mon Sep 17 00:00:00 2001 From: candonov <25967713+candonov@users.noreply.github.com> Date: Wed, 5 Apr 2023 16:25:44 -0700 Subject: [PATCH] test ci on change push --- .github/workflows/ci.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d7e615d..8d58767 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,10 @@ name: Go releaser on: push: - tags: - - v0.** + branches: + - main + paths: + - 'app/**' permissions: contents: write @@ -10,7 +12,12 @@ permissions: 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 @@ -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 @@ -46,5 +51,4 @@ jobs: - name: Commit & Push changes uses: actions-js/push@v1.4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} message: "Updating claim bucketKey version to ${{ env.ARTIFACT_NAME }}"