Skip to content

chore(deps): update actions/upload-artifact action to v4.4.0 #498

chore(deps): update actions/upload-artifact action to v4.4.0

chore(deps): update actions/upload-artifact action to v4.4.0 #498

Workflow file for this run

name: Test action
on:
pull_request:
push:
branches: [ '**' ]
release:
types:
- created
workflow_dispatch:
jobs:
test-action:
permissions:
id-token: write
contents: write
name: Test SonarSource/gh-action_sbom on alpine:latest
runs-on: ubuntu-latest
steps:
- name: get secrets
id: secrets
uses: SonarSource/vault-action-wrapper@3996073b47b49ac5c58c750d27ab4edf469401c8 # 3.0.1
with:
secrets: |
development/kv/data/sign passphrase | gpg_passphrase;
development/kv/data/sign key | gpg_key;
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: ./
- uses: ./ # SonarSource/gh-action_sbom
with:
image: alpine:latest
filename: test-action-bom.json
upload-artifact: true
upload-release-assets: true
env:
GPG_PRIVATE_KEY_PASSPHRASE: ${{ fromJSON(steps.secrets.outputs.vault).gpg_passphrase }}
GPG_PRIVATE_KEY_BASE64: ${{ fromJSON(steps.secrets.outputs.vault).gpg_key }}
- run: |
test -f test-action-bom.json.asc
echo "test-action-bom.json:"
head test-action-bom.json
- uses: ./ # SonarSource/gh-action_sbom
with:
image: alpine:latest
filename: test2-action-bom.json
upload-artifact: false
upload-release-assets: false