From 0cbb887702baee112c4b2dbc219dfb8fa0462cd6 Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Sun, 20 Oct 2024 21:44:13 +0100 Subject: [PATCH] Load version before packaging libc zip --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83a2b44f..5326f4ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,16 +58,16 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path: ./lib-c-files - - name: Create lib-c zip package - run: | - mkdir lib-c - zip -r ./lib-c/velopack_libc_$PKG_VERSION.zip ./lib-c-files - - name: Load version from file run: | version=$(cat version.txt | xargs) echo "PKG_VERSION=$version" >> $GITHUB_ENV + - name: Create lib-c zip package + run: | + mkdir lib-c + zip -r ./lib-c/velopack_libc_$PKG_VERSION.zip ./lib-c-files + - uses: actions/checkout@v4 with: path: ./repo