ci: mise experimental #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Build Package | |
run: | | |
mise settings set experimental true | |
mise run pull-schema | |
pkl project package src | |
- name: Create Release | |
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/* |