Merge pull request #32 from Avarei/docs/clarify #1
Workflow file for this run
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
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 }} |