Create env-export action

This commit is contained in:
Floris van der Grinten
2021-05-20 11:27:09 +02:00
parent ef4f0fb8b9
commit e25891308d
2 changed files with 120 additions and 0 deletions

12
action.yml Normal file
View File

@@ -0,0 +1,12 @@
name: env-export-action
inputs:
unset-previous:
description: Whether to unset environment variables populated by 1Password in earlier job steps
default: false
runs:
using: composite
steps:
- run: |
export INPUT_UNSET_PREVIOUS=${{ inputs.unset-previous }}
${{ github.action_path }}/entrypoint.sh
shell: bash