pdfjs_dart_2.12.5 (#190) #3
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 to pub.dev | |
on: | |
push: | |
tags: | |
# Releases | |
- '[0-9]+.[0-9]+.[0-9]+' | |
# Release Candidates | |
- '[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' | |
# Build identified release | |
- '[0-9]+.[0-9]+.[0-9]+\+[0-9]+' | |
permissions: | |
contents: write | |
id-token: write | |
pull-requests: write | |
jobs: | |
create-sbom-release-asset: | |
name: Create SBOM Release Asset | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: stable | |
- name: Install dependencies | |
run: dart pub get | |
- name: Publish SBOM to Release Assets | |
uses: anchore/sbom-action@v0 | |
with: | |
path: ./ | |
format: cyclonedx-json | |
publish: | |
name: Publish to pub.dev | |
uses: dart-lang/setup-dart/.github/workflows/[email protected] |