Skip to content

Commit

Permalink
Merge main into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbonebot committed Jun 9, 2023
2 parents f3cabf3 + d3eebf1 commit 0787600
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions is-latest-tag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
steps:
- uses: greenbone/actions/is-latest-tag@v2
id: latest
- name:
if: steps.latest.outputs.is-latest-tag
- name: Do something
if: steps.latest.outputs.is-latest-tag == 'true'
run: |
# do something if the current tag is the latest tag
- name: Do something else
if: steps.latest.outputs.is-latest-tag == 'false'
run: |
# do something else if the current tag is not the latest tag
```
## Output Arguments
Expand Down
2 changes: 1 addition & 1 deletion sbom-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
- uses: actions/checkout@v3
- name: Generate SBOM
run: |
curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64
curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/download/v1.1.2/sbom-tool-linux-x64
chmod +x $RUNNER_TEMP/sbom-tool
$RUNNER_TEMP/sbom-tool generate -b . -bc . -pn ${{ github.repository }} -pv 1.0.0 -ps "Greenbone AG" -nsb https://greenbone.net -V Verbose
shell: bash
Expand Down

0 comments on commit 0787600

Please sign in to comment.