Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xikaro committed Dec 21, 2024
1 parent 33f8b13 commit 06fd7bf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}
Expand Down Expand Up @@ -71,10 +74,10 @@ jobs:
run: |
if ! git ls-tree -r ${{ steps.latest_tag.outputs.tag }} -- ./pakku-lock.json &> /dev/null; then
echo "❌ File pakku-lock.json not found in previous tag"
echo "::set-output name=file_found::false"
echo "file_found=false" >> $GITHUB_OUTPUT
else
echo "✔️ File pakku-lock.json found in previous tag"
echo "::set-output name=file_found::true"
echo "file_found=true" >> $GITHUB_OUTPUT
fi
- name: 📁 Copy pakku-lock.json from previous tag
Expand All @@ -86,7 +89,7 @@ jobs:
if [ -s ./pakku-lock-prev.json ]; then
echo "✔️ File pakku-lock-prev.json created"
else
echo "❌ Error: File pakku-lock-prev.json is empty or not created" && exit 1
echo "❌ Error: File pakku-lock-prev.json is empty or not created"
fi
- name: 📦 Download pakku.jar
Expand Down

0 comments on commit 06fd7bf

Please sign in to comment.