Skip to content

Commit

Permalink
fix: added pkl and packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvander committed Mar 8, 2024
1 parent 089ac4c commit 4f8fbbb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ jobs:
with:
release-type: simple
include-v-in-tag: false
- name: Install Pkl
run: |-
curl -L -o pkl https://github.com/apple/pkl/releases/download/0.25.2/pkl-linux-amd64
chmod +x pkl
./pkl --version
mkdir -p $HOME/.local/bin
mv pkl $HOME/.local/bin/pkl
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build Package
run: pkl project package src
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./.out/some-build-artifact.zip
run: VERSION=$(cat version.txt) gh release upload ${{ steps.release.outputs.tag_name }} .out/pkl-biome@$VERSION/*

0 comments on commit 4f8fbbb

Please sign in to comment.