Skip to content

Commit 4cad073

Browse files
committed
Fix bugs
1 parent 90fcfe2 commit 4cad073

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci_build_slc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
- name: Build SLC ${{ inputs.flavor }}
4848
id: build-slc
4949
run: |
50-
slc_path=`poetry run -- nox -s "ci:export-and-scan-vulnerabilities" -- --flavor "${{inputs.flavor}}" --branch-name ${{github.ref_name}} --docker-user "$DOCKER_USERNAME" --docker-password "$DOCKER_PASSWORD" --commit-sha "${{ github.sha }}"`
51-
echo slc_path=$slc_path >> $GITHUB_OUTPUT
50+
branch_name="${{github.head_ref || github.ref_name}}"
51+
poetry run -- nox -s "ci:export-and-scan-vulnerabilities" -- --flavor "${{inputs.flavor}}" --branch-name ${{github.ref_name}} --docker-user "$DOCKER_USERNAME" --docker-password "$DOCKER_PASSWORD" --commit-sha "${{ github.sha }}" --github-output "$GITHUB_OUTPUT"
5252
env:
5353
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
5454
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)