Skip to content

Merge pull request #32 from Avarei/docs/clarify #1

Merge pull request #32 from Avarei/docs/clarify

Merge pull request #32 from Avarei/docs/clarify #1

Workflow file for this run

name: "Pkl"
on:
push:
tags:
- 'crossplane.contrib*.*.*'
jobs:
pkl:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Pkl
uses: pkl-community/setup-pkl@v0
with:
pkl-version: 0.26.1
- name: Login to GH
run: echo ${{ github.token }} | gh auth login --with-token
- name: Fetch Tags
run: git fetch --tags
- name: Get Tag Name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Package and Create GitHub Release
id: create_package
run: make pkl-release REPO=github.com/${{ github.repository}} TAG=$TAG_NAME TARGET=${{ github.sha }}