I followed the instruction from the official docs to work on the CI/CD integration but failed to get actions output. After a while I figured it out I should set export-env: false to enable the actions output because by default the value of the export-env is true even is not set. This behaviour is noted in the load-secrets-action repository but not the official document.
The official docs for CI/CD integration should make a change to adopt the latest version of load-secrets-action
There is no report channel to submit a fix to the official doc so I open a issue here to suggest a change to prevent a scenario where we get unexpected output from the code example.
Change Proposal
The code example for use secrets from the actions output in official docs should make an update and explicitly set export-env: false to enable the action's output feature as following so we can get the expected result as code example.
Background
I followed the instruction from the official docs to work on the CI/CD integration but failed to get actions output. After a while I figured it out I should set
export-env: false
to enable the actions output because by default the value of theexport-env
istrue
even is not set. This behaviour is noted in theload-secrets-action
repository but not the official document.The official docs for CI/CD integration should make a change to adopt the latest version of
load-secrets-action
There is no report channel to submit a fix to the official doc so I open a issue here to suggest a change to prevent a scenario where we get unexpected output from the code example.
Change Proposal
The code example for
use secrets from the actions output
in official docs should make an update and explicitly setexport-env: false
to enable the action's output feature as following so we can get the expected result as code example.