Skip to content

Commit

Permalink
update sht
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhCode committed Dec 22, 2024
1 parent 4604580 commit fb1325e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,15 @@ jobs:
- name: Prepare artifacts
run: |
cd build/release
echo "ARTIFACT_NAME=$(ls Neogurt*.dmg)" >> $GITHUB_ENV
ARTIFACT_NAME=$(ls Neogurt*.dmg)
ARTIFACT_NAME_NO_EXT=${ARTIFACT_NAME%.dmg}
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
echo "ARTIFACT_NAME_NO_EXT=$ARTIFACT_NAME_NO_EXT" >> $GITHUB_ENV
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
name: ${{ env.ARTIFACT_NAME_NO_EXT }}
path: build/release/${{ env.ARTIFACT_NAME }}

create-release:
Expand All @@ -93,6 +96,8 @@ jobs:
run: |
gh release delete nightly --yes || true
git push origin :nightly || true
ls -al artifacts
gh release create nightly artifacts/* \
--title "Neogurt dev build" \
--notes "Dev build for commit ${{ github.sha }}" \
Expand Down

0 comments on commit fb1325e

Please sign in to comment.