Skip to content

Commit

Permalink
Merge pull request #12 from canonical/fix/ci
Browse files Browse the repository at this point in the history
ci: adjust build job
  • Loading branch information
canonical-iam authored Oct 10, 2024
2 parents e7e2766 + 55baa6b commit 650f8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Get name
id: name
Expand All @@ -26,12 +26,12 @@ jobs:
run: syft ${{ steps.rockcraft.outputs.rock }} -o spdx-json=${{ steps.name.outputs.name }}.sbom.json

- name: Upload SBOM
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
with:
name: ${{ steps.name.outputs.name }}-sbom
path: "${{ steps.name.outputs.name }}.sbom.json"

- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
- uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
with:
name: rock
path: ${{ steps.rockcraft.outputs.rock }}

0 comments on commit 650f8c4

Please sign in to comment.