-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expansion of environment variables as part of subject-path
s does not work
#146
Comments
Work around another restriction of the build attestation action, see [1]. [1]: actions/attest-build-provenance#146 Signed-off-by: Sebastian Schuberth <[email protected]>
Work around another restriction of the build attestation action, see [1]. [1]: actions/attest-build-provenance#146 Signed-off-by: Sebastian Schuberth <[email protected]>
When you have a job step which invokes a command using run: |
gh release create $ORT_VERSION --notes-file RELEASE_NOTES.md \
./cli/build/distributions/ort-$ORT_VERSION.{tgz,zip}* \
./helper-cli/build/distributions/orth-$ORT_VERSION.{tgz,zip}* When you invoke something like - name: Attest Build Provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: |
./cli/build/distributions/ort-${{ env.ORT_VERSION }}.tgz
./cli/build/distributions/ort-${{ env.ORT_VERSION }}.zip
./helper-cli/build/distributions/orth-${{ env.ORT_VERSION }}.tgz
./helper-cli/build/distributions/orth-${{ env.ORT_VERSION }}.zip |
My bad, you're right, thanks @bdehamer! |
We have a job-global environment variable that is successfully used in other build steps, but that does not get expanded as part of defined
subject-path
s, see this error.Is some special syntax required, or is this another restriction of
actions/glob
?The text was updated successfully, but these errors were encountered: