Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Feb 25, 2023
1 parent 619b26d commit fbe8eb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/actions/env-read-file/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ runs:
uses: actions/cache@v3
id: env-cache
with:
path: .github/.env
key: env-cache-${{ hashFiles('.github/.env') }}
path: .github/variables/gh.env
key: env-cache-${{ hashFiles('.github/variables/gh.env') }}
- name: Set Environment Variables
if: steps.env-cache.outputs.cache-hit == 'true'
uses: tw3lveparsecs/github-actions-setvars@latest
with:
envFilePath: .github/.env
envFilePath: .github/variables/gh.env
- name: Set Environment Variables
if: steps.env-cache.outputs.cache-hit != 'true'
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/variables/gh.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Do not modify this file, it's needed for CI
6 changes: 3 additions & 3 deletions .github/workflows/env-create-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
uses: actions/cache@v3
id: env-cache
with:
path: .github/.env
key: env-cache-${{ hashFiles('.github/.env') }}
path: .github/variables/gh.env
key: env-cache-${{ hashFiles('.github/variables/gh.env') }}
- uses: ozaytsev86/create-env-file@v1
if: steps.env-cache.outputs.cache-hit != 'true'
with:
file-name: ${{ github.workspace }}/.github/.env
file-name: ${{ github.workspace }}/.github/variables/gh.env

0 comments on commit fbe8eb9

Please sign in to comment.