Package publish permissions and ICU lib for dotnet functools (#189) #24
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 function package (release) | |
on: | |
push: | |
tags: ["*"] | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Get tag" | |
id: previoustag | |
uses: "WyriHaximus/[email protected]" | |
with: | |
fallback: 2022.2.0 | |
- name: "Publish package" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./scripts/cipublish-func -t "${{ steps.previoustag.outputs.tag }}" |