fix(release): use correct GH workflows syntax (#1020)
See https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9fb1705..8a05b40 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,7 +15,7 @@
- name: Prepare workspace snippet
run: .github/workflows/workspace_snippet.sh > release_notes.txt
- name: Build wheel dist
- run: bazel build --stamp --embed_label=${{ env.GITHUB_REF_NAME }} //python/runfiles:wheel.dist
+ run: bazel build --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.dist
- name: Publish runfiles package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with: