Skip to content

Commit 88cccc9

Browse files
committed
again fixing stt-e2e
1 parent 81aecba commit 88cccc9

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/actions/infisical_export/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
inputs:
2-
token:
3-
required: true
42
project-id:
53
required: true
64
folder:
@@ -24,7 +22,7 @@ runs:
2422
run: |
2523
SECRETS=$(
2624
infisical export \
27-
--token=${{ inputs.token }} \
25+
--token="$INFISICAL_TOKEN" \
2826
--projectId=${{ inputs.project-id }} \
2927
--path="${{ inputs.folder }}" \
3028
--env=${{ inputs.env }} \

.github/workflows/restate_cd.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ jobs:
2828
command: versions upload --message "commit ${{ github.sha }}"
2929
- uses: ./.github/actions/infisical_export
3030
id: secrets
31+
env:
32+
INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }}
3133
with:
32-
token: ${{ secrets.INFISICAL_TOKEN }}
3334
project-id: ${{ secrets.INFISICAL_PROJECT_ID }}
3435
env: prod
3536
folder: /restate

.github/workflows/stt_e2e.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
with:
2222
platform: linux
2323
- uses: ./.github/actions/infisical_install
24-
- run: infisical run --env=dev --projectId=87dad7b5-72a6-4791-9228-b3b86b169db1 --path="/stt" -- cargo test -p owhisper-client adapter::${{ inputs.provider }}::batch --ignored -- --nocapture
24+
- run: infisical run --token="$INFISICAL_TOKEN" --env=dev --projectId=87dad7b5-72a6-4791-9228-b3b86b169db1 --path="/stt" -- cargo test -p owhisper-client adapter::${{ inputs.provider }}::batch --ignored -- --nocapture
25+
env:
26+
INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }}
2527
live:
2628
runs-on: ubuntu-latest
2729
steps:
@@ -30,4 +32,6 @@ jobs:
3032
with:
3133
platform: linux
3234
- uses: ./.github/actions/infisical_install
33-
- run: infisical run --env=dev --projectId=87dad7b5-72a6-4791-9228-b3b86b169db1 --path="/stt" -- cargo test -p owhisper-client adapter::${{ inputs.provider }}::live --ignored -- --nocapture
35+
- run: infisical run --token="$INFISICAL_TOKEN" --env=dev --projectId=87dad7b5-72a6-4791-9228-b3b86b169db1 --path="/stt" -- cargo test -p owhisper-client adapter::${{ inputs.provider }}::live --ignored -- --nocapture
36+
env:
37+
INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }}

0 commit comments

Comments
 (0)