From 5e32d817c66c35f802e8ae60a3f6bd677db46f50 Mon Sep 17 00:00:00 2001 From: Simon Shi <9512067+simonsmh@users.noreply.github.com> Date: Thu, 26 Dec 2024 02:00:14 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2d9ffa..71bda9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,19 +21,19 @@ jobs: poetry run python -m chws_subset - name: Make release zip run: | - zip -9 -x "*.git*" -x "chws_subset*" -x "extra*" -x "poetry.lock" -x "pyproject.toml" -r ../notocjk.zip ./ - sha256sum ../notocjk.zip > ../notocjk.zip.sha256sum + zip -9 -x "*.git*" -x "chws_subset*" -x "extra*" -x "poetry.lock" -x "pyproject.toml" -r notocjk.zip ./ + sha256sum notocjk.zip > notocjk.zip.sha256sum - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | - ../notocjk.zip - ../notocjk.zip.sha256sum + notocjk.zip + notocjk.zip.sha256sum env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/upload-artifact@v4 with: name: notocjk - path: ../notocjk.zip + path: notocjk.zip