Skip to content

Commit

Permalink
try unziped with v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtharriger committed May 19, 2024
1 parent 58de299 commit ea4da2c
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
release-version:
if: github.workflow != 'CI Build and Release'
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -34,14 +35,21 @@ jobs:
- name: Run Release Version Task
run: clojure -T:build release-version

- name: Zip code
run: zip -r updated-code.zip .
# - 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:
name: updated-code
path: updated-code.zip
path: .
if-no-files-found: error

- name: Upload release notes
Expand All @@ -66,8 +74,8 @@ jobs:
with:
name: updated-code

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

- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
Expand Down Expand Up @@ -157,7 +165,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,8 +175,8 @@ jobs:
with:
name: updated-code

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

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

0 comments on commit ea4da2c

Please sign in to comment.