Skip to content

fix: add pull-schema task #25

fix: add pull-schema task

fix: add pull-schema task #25

Workflow file for this run

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: simple
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=${{ steps.release.outputs.tag_name }}
VERSION=${TAG:1}
gh release upload ${{ steps.release.outputs.tag_name }} .out/pkl-biome@$VERSION/*