From 2815bf13c241147d8bc08585c44ed7eb1e5638cf Mon Sep 17 00:00:00 2001 From: Joe Cotton Date: Tue, 2 Apr 2024 13:52:55 -0600 Subject: [PATCH] 3546 Added publish workflow --- .github/workflows/publish.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 00000000..d89d870f --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,25 @@ +name: Publish + +on: + push: + tags: + # Releases + - '[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: + - name: Publish SBOM to Release Assets + with: + path: ./ + format: cyclonedx-json + publish: + Name: Publish to pub.dev + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1