Skip to content

Commit

Permalink
testing release notes up to side effect
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtharriger committed May 19, 2024
1 parent e0e922d commit 032d17a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ jobs:
- name: Archive build artifact
uses: actions/upload-artifact@v2
with:
name: clj-mergetool-${{ matrix.os }}-latest-${{ matrix.arch }}
name: clj-mergetool-${{ matrix.os }}-${{ matrix.arch }}
path: target/clj-mergetool${{ matrix.os == 'windows-latest' && '.exe' || '' }}

release:
# if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest

Expand Down Expand Up @@ -139,6 +140,7 @@ jobs:
path: RELEASE_NOTES.md

- name: Create Release
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
with:
body_path: RELEASE_NOTES.md
Expand All @@ -153,7 +155,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

push-changes:
if: github.ref == 'refs/heads/main'
# if: github.ref == 'refs/heads/main'
needs: release
runs-on: ubuntu-latest

Expand All @@ -167,5 +169,6 @@ jobs:
name: updated-code

- name: Push changes
if: github.ref == 'refs/heads/main'
run: |
git push origin main

0 comments on commit 032d17a

Please sign in to comment.