Skip to content

ci: pull-schema task before build and publish #26

ci: pull-schema task before build and publish

ci: pull-schema task before build and publish #26

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
- uses: jdx/mise-action@v2
- run: mise run pull-schema
- 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/*