Skip to content

Commit

Permalink
add unique id to each run
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe committed Jun 9, 2024
1 parent 9a26ca2 commit 143b6e4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/logzio-telemetry-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
strategy:
matrix:
mode: ['daemonset', 'standalone']
env:
ENV_ID: telemetry-test-run-${{ github.run_id }}-number-${{ github.run_number }}-${{ matrix.mode }}
steps:
- name: Generate random id
id: random_id
run: echo "::set-output name=rand::$(echo $RANDOM)"

- name: Set ENV_ID
run: echo "ENV_ID=telemetry-test-run-${{ steps.random_id.outputs.rand }}-${{ matrix.mode }}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit 143b6e4

Please sign in to comment.