Skip to content

Commit

Permalink
cleanup for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtharriger committed May 19, 2024
1 parent 6dfa76f commit ac9f9cc
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/ci-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ name: CI Build and Release
on:
push:
branches:
- main
- test-ci-pipeline
- '**'
pull_request:
branches:
- '**'

jobs:
check-last-commit-author:
if: ${{ github.event.repository.fork == false }}
runs-on: ubuntu-latest
outputs:
author: ${{ steps.get_author.outputs.author }}
Expand Down Expand Up @@ -48,16 +51,6 @@ jobs:
- name: Run Release Version Task
run: clojure -T:build release-version

# - name: Zip code
# run: zip -r updated-code.zip .

# - name: Upload updated code
# uses: actions/upload-artifact@v4
# with:
# name: updated-code
# path: updated-code.zip
# if-no-files-found: error

- name: Upload updated code
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -87,9 +80,6 @@ jobs:
with:
name: updated-code

# - name: Unzip code
# run: unzip updated-code.zip

- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
Expand All @@ -115,7 +105,7 @@ jobs:
if-no-files-found: error

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

Expand Down Expand Up @@ -178,7 +168,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 @@ -188,9 +178,6 @@ jobs:
with:
name: updated-code

# - name: Unzip code
# run: unzip updated-code.zip

- name: Push changes
if: github.ref == 'refs/heads/main'
run: |
Expand Down

0 comments on commit ac9f9cc

Please sign in to comment.