Skip to content

Commit 0329978

Browse files
committed
move env attribute to job block
1 parent d458e02 commit 0329978

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/CI-time-tracker-ui.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
name: Running unit tests
3131
runs-on: ubuntu-latest
3232
timeout-minutes: 90
33+
env:
34+
SCOPES: {{ $secrets.scopes }}
35+
CLIENT_ID: {{ $secrets.client_id }}
36+
AUTHORITY: {{ $secrets.authority }}
37+
BASE_PATH: "src/environments/"
3338
steps:
3439
- name: Clone and checkout branch
3540
uses: actions/checkout@master
@@ -56,11 +61,6 @@ jobs:
5661
data["authority"] = os.environ['AUTHORITY']
5762
with open(base_path + "keys.json", "w+") as jsonFileWrite:
5863
json.dump(data, jsonFileWrite)
59-
env:
60-
SCOPES: {{ $secrets.scopes }}
61-
CLIENT_ID: {{ $secrets.client_id }}
62-
AUTHORITY: {{ $secrets.authority }}
63-
BASE_PATH: "src/environments/"
64-
64+
6565
- name: Run the test
6666
run: npm run ci-test --if-present

0 commit comments

Comments
 (0)