From e83da44f0006d6a810f9817498b6b7cd33943eb7 Mon Sep 17 00:00:00 2001 From: Elie Michel Date: Mon, 9 Jan 2023 00:24:56 +0100 Subject: [PATCH] Update make_light_release.yml --- .github/workflows/make_light_release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make_light_release.yml b/.github/workflows/make_light_release.yml index d39f8a98..87cfc7b6 100644 --- a/.github/workflows/make_light_release.yml +++ b/.github/workflows/make_light_release.yml @@ -21,12 +21,18 @@ jobs: run: mv copying.txt glm - name: Create zip archive - run: zip -r glm-${{ github.GITHUB_REF }}-light.zip glm + run: zip -r glm-${{ github.ref }}-light.zip glm - name: Create 7z archive - run: 7z a glm-${{ github.GITHUB_REF }}-light.7z glm + run: 7z a glm-${{ github.ref }}-light.7z glm - uses: actions/upload-artifact@v3 with: - name: glm-${{ github.GITHUB_REF }}-light - path: glm-${{ github.GITHUB_REF }}-light.* + name: glm-${{ github.ref }}-light + path: glm-${{ github.ref }}-light.* + + - name: Add to Release + uses: softprops/action-gh-release@v1 + files: | + glm-${{ github.ref }}-light.zip + glm-${{ github.ref }}-light.7z