Skip to content

Commit

Permalink
fix(ci): make a pr
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Jan 28, 2024
1 parent 08544c0 commit fa5e374
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-phantom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
- name: Update Phantom UI
run: |
export PHANTOM_SHA=$(git -C phantom-core rev-parse HEAD)
export PHANTOM_SHA_SHORT=$(echo "$PHANTOM_SHA" | cut -c 1-6)
echo "PHANTOM_SHA=$PHANTOM_SHA" >> $GITHUB_ENV
echo "PHANTOM_SHA_SHORT=$PHANTOM_SHA_SHORT" >> $GITHUB_ENV
pushd main
git switch -c update-phantom/$PHANTOM_SHA
zig fetch --save=phantom https://github.com/PhantomUIx/core/archive/$PHANTOM_SHA.tar.gz
git config user.name "GitHub Actions Bot"
git config user.email "<>"
Expand All @@ -40,5 +41,5 @@ jobs:
if: ${{ env.HAS_CHANGES == 'yes' }}
with:
title: "Update Phantom UI core to ${{ env.PHANTOM_SHA }}"
branch: update-phantom/${{ env.PHANTOM_SHA }}
branch: update-phantom/${{ env.PHANTOM_SHA_SHORT }}
path: main

0 comments on commit fa5e374

Please sign in to comment.