Skip to content

Commit

Permalink
just build+test+version update #3202
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-dmlr committed Jun 10, 2024
1 parent 6e20449 commit 05b0845
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
# echo "Pull Request URL - ${{ steps.pr_spdx_headers.outputs.pull-request-url }}"

# ----------------------
# Build SecHub Github Action
# Build SecHub Github Action + set package version
# ----------------------
- name: Build github-actions/scan
- name: Build github-actions/scan and set package version to v${{ inputs.ghaction-version }}
run: |
GHACTION="github-actions/scan"
cd $GHACTION
Expand All @@ -96,6 +96,9 @@ jobs:
npm run build
echo "# $GHACTION - Run unit tests"
npm test
echo "# $GHACTION - Update package version to v${{ inputs.ghaction-version }}"
echo "$( jq --arg a "${{ inputs.ghaction-version }}" '.version = $a' package.json )"
# echo "$( jq --arg a "${{ inputs.ghaction-version }}" '.version = $a' package.json )" > package.json
# ----------------------
# Create pull request for updated files
Expand Down

0 comments on commit 05b0845

Please sign in to comment.