Skip to content

Commit e82ad9e

Browse files
Cleanup of workflow files (#116)
1 parent ec09028 commit e82ad9e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout repo
1818
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
with:
20+
persist-credentials: false
1921

2022
- name: Install cloc
2123
run: |
@@ -33,6 +35,8 @@ jobs:
3335
steps:
3436
- name: Checkout repo
3537
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38+
with:
39+
persist-credentials: false
3640

3741
- name: Install poetry
3842
run: pipx install poetry
@@ -64,8 +68,8 @@ jobs:
6468
run: |
6569
mkdir package/bin
6670
cp -R src/* package/bin/
67-
export APP_VERSION=$(poetry version | awk -F ' ' '{print $2}')
68-
poetry run ucc-gen build --ta-version ${APP_VERSION}
71+
APP_VERSION=$(poetry version | awk -F ' ' '{print $2}')
72+
poetry run ucc-gen build --ta-version "${APP_VERSION}"
6973
# cleanup python files
7074
rm -rf output/bitwarden_event_logs/{bin,lib}/__pycache__
7175
rm -rf output/bitwarden_event_logs/bin/{bitwarden_event_logs_rh_settings.py,import_declare_test.py}

0 commit comments

Comments
 (0)