17 lines
461 B
YAML
17 lines
461 B
YAML
name: "Set environment variables"
|
|
description: "Configures environment variables for a workflow"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Create env file
|
|
uses: buildjet/cache@v3
|
|
id: env-cache
|
|
with:
|
|
path: gh.env
|
|
key: env-cache-${{ hashFiles('gh.env') }}
|
|
restore-keys: env-cache-
|
|
- name: Set Environment Variables
|
|
uses: tw3lveparsecs/github-actions-setvars@latest
|
|
with:
|
|
envFilePath: gh.env
|