Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmachado committed Feb 14, 2024
1 parent 1edd4d2 commit d6dc6a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/load-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: 'Load .env'
description: 'Loads variables from .env file'

runs:
using: 'composite'
steps:
- id: load
run: |
set -o allexport; source .env; set +o allexport
echo "IMAGE_ID_BASE=${IMAGE_ID_BASE}"
echo "::set-output name=IMAGE_ID_BASE::$IMAGE_ID_BASE"
shell: bash

outputs:
IMAGE_ID_BASE: ${{ env.IMAGE_ID_BASE }}
IMAGE_ID_BASE: ${{ steps.load.outputs.IMAGE_ID_BASE }}

0 comments on commit d6dc6a4

Please sign in to comment.