As seen here, this action sets the SPIN_VERSION env var in the action environment.
This means users of this action attempting to supply their own value via an env var of the same name won't be able to do so.
Consider the following:
env:
SPIN_VERSION: v2.4.2
jobs:
myjob:
- name: Install Spin
uses: fermyon/actions/spin/setup@v1
with:
version: ${{ env.SPIN_VERSION }}
env.SPIN_VERSION will end up resolving to the output of spin --version per
|
const result = await exec.getExecOutput('spin', ['--version']) |
.
As seen here, this action sets the
SPIN_VERSIONenv var in the action environment.This means users of this action attempting to supply their own value via an env var of the same name won't be able to do so.
Consider the following:
env.SPIN_VERSIONwill end up resolving to the output ofspin --versionperactions/src/spin.ts
Line 14 in ff08c82