Skip to content

Commit

Permalink
ci: remerge
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvander committed Mar 9, 2024
1 parent 5806795 commit 3b0b316
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,25 @@ name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: steps.release.release_created
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
experimental: true
- name: Create Release
uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: simple

publish:
runs-on: ubuntu-latest
needs: [release-please]
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
experimental: true
- name: Build Package
run: |
mise run pull-schema
pkl project package src
- name: Upload Release Artifact
if: ${{ needs.release-please.outputs.release_created }}
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=${{ needs.release-please.outputs.tag_name }}
TAG=${{ steps.release.outputs.tag_name }}
VERSION=${TAG:1}
gh release upload ${{ needs.release-please.outputs.tag_name }} .out/pkl-biome@$VERSION/*
gh release upload ${{ steps.release.outputs.tag_name }} .out/pkl-biome@$VERSION/*

0 comments on commit 3b0b316

Please sign in to comment.