Skip to content

Commit

Permalink
packaging: Added workflow directory to each step on #2163
Browse files Browse the repository at this point in the history
  • Loading branch information
sulhicader committed Nov 16, 2023
1 parent 2c6f361 commit bc9991d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Snyk Security Vulnerability Scan

on:
workflow_dispatch:
pull_request:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/wave-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Wave Bundle

on:
workflow_call:
inputs:
build-version:
type: string
description: The version of the application/image to be pushed
required: true

jobs:
airgapped:
Expand All @@ -28,7 +33,7 @@ jobs:
- name: Get App Version
id: get-build-version
run: |
echo "VERSION=${{ env.VERSION }}" >> "$GITHUB_OUTPUT"
echo "VERSION=${{ build-version }}" >> "$GITHUB_OUTPUT"
- name: Make air-gapped bundle
working-directory: ./university
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wave.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
bundle:
name: Create Wave Bundle
uses: ./.github/workflows/wave-bundle.yaml
with:
build-version: ${{ VERSION }}

publish:
needs: bundle
Expand Down

0 comments on commit bc9991d

Please sign in to comment.