Omit cache-hit exit 1, assuming it'll fail regardless
This commit is contained in:
1 parent
a3f3f1f263
commit
e018eb9ebe
1 file changed
+1
-7
@@ -9,14 +9,8 @@ runs:
|
|||||||
with:
|
with:
|
||||||
path: gh.env
|
path: gh.env
|
||||||
key: env-cache-${{ hashFiles('gh.env') }}
|
key: env-cache-${{ hashFiles('gh.env') }}
|
||||||
|
restore-keys: env-cache-
|
||||||
- name: Set Environment Variables
|
- name: Set Environment Variables
|
||||||
if: steps.env-cache.outputs.cache-hit == 'true'
|
|
||||||
uses: tw3lveparsecs/github-actions-setvars@latest
|
uses: tw3lveparsecs/github-actions-setvars@latest
|
||||||
with:
|
with:
|
||||||
envFilePath: gh.env
|
envFilePath: gh.env
|
||||||
- name: Set Environment Variables
|
|
||||||
if: steps.env-cache.outputs.cache-hit != 'true'
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "You need to run env-create-file first"
|
|
||||||
exit 1
|
|
||||||
Reference in new issue
Block a user