Add prefix #54
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: Tag | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
permissions: | |
# Only need to read contents | |
contents: read | |
# Require writing security events to upload SARIF file to security tab | |
security-events: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate | |
uses: peiffer-innovations/actions-flutter-validate@v1 | |
- name: Create Tag | |
shell: bash | |
run: | | |
set -e | |
dart pub global activate -sgit https://github.com/peiffer-innovations/actions-dart-version-autotag | |
dart pub global run dart_version_autotag:tag --token ${{ secrets.GITHUB_TOKEN }} --repository "peiffer-innovations/actions-dart-version-autotag" |