This commit is contained in:
zomars 2023-02-24 19:59:15 -07:00
parent fbe8eb969f
commit 4c375c8952
3 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@ runs:
uses: actions/cache@v3
id: env-cache
with:
path: .github/variables/gh.env
key: env-cache-${{ hashFiles('.github/variables/gh.env') }}
path: gh.env
key: env-cache-${{ hashFiles('gh.env') }}
- name: Set Environment Variables
if: steps.env-cache.outputs.cache-hit == 'true'
uses: tw3lveparsecs/github-actions-setvars@latest
with:
envFilePath: .github/variables/gh.env
envFilePath: gh.env
- name: Set Environment Variables
if: steps.env-cache.outputs.cache-hit != 'true'
shell: bash

View File

@ -42,9 +42,9 @@ jobs:
uses: actions/cache@v3
id: env-cache
with:
path: .github/variables/gh.env
key: env-cache-${{ hashFiles('.github/variables/gh.env') }}
path: gh.env
key: env-cache-${{ hashFiles('gh.env') }}
- uses: ozaytsev86/create-env-file@v1
if: steps.env-cache.outputs.cache-hit != 'true'
with:
file-name: ${{ github.workspace }}/.github/variables/gh.env
file-name: ${{ github.workspace }}/gh.env