From d1f9fd3d2ebd4d2b0c0140073ec2f29a21a1d277 Mon Sep 17 00:00:00 2001 From: Cheng XU Date: Fri, 31 Mar 2023 18:47:10 -0700 Subject: [PATCH] fix release workflow --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b19aabb..2b57631 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: docker_version: "20220301" - name: "texlive2020" docker_version: "20210301" - name: "release pinned version [${{ pinned_version.name }}]" + name: "release pinned version [${{ matrix.pinned_version.name }}]" runs-on: ubuntu-latest steps: - name: Set up Git repository @@ -26,8 +26,8 @@ jobs: git config --global user.email "git@xuc.me" - name: Create pinned version run: | - TAG_VERSION="${GITHUB_REF#refs/tags/}-${{ pinned_version.name }}" - sed -i 's|texlive-full:latest|texlive-full:${{ pinned_version.docker_version }}|g' 'Dockerfile' + TAG_VERSION="${GITHUB_REF#refs/tags/}-${{ matrix.pinned_version.name }}" + sed -i 's|texlive-full:latest|texlive-full:${{ matrix.pinned_version.docker_version }}|g' 'Dockerfile' git checkout -b "${TAG_VERSION}" git add Dockerfile git commit -m "Release ${TAG_VERSION}"