ci: set GITHUB_ACCESS_TOKEN variable #47
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: "Publish a flake to flakestry" | |
on: | |
push: | |
tags: | |
- "v?[0-9]+.[0-9]+.[0-9]+" | |
- "v?[0-9]+.[0-9]+" | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: "The existing tag to publish" | |
type: "string" | |
required: true | |
jobs: | |
publish-flake: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: "write" | |
contents: "read" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v5 | |
with: | |
wasm: true | |
plugin: flakestry | |
args: publish | |
env: | |
VERSION: ${{ inputs.tag || github.ref_name }} | |
GH_TOKEN: ${{ github.token }} | |
ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN }} | |
ACTIONS_ID_TOKEN_REQUEST_URL: ${{ env.ACTIONS_ID_TOKEN_REQUEST_URL }} | |
REF: ${{ github.sha }} |