From 9cd508878708faa4936553a2cc9ca9cb466a3d68 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Sun, 6 Oct 2024 22:54:15 +0000 Subject: [PATCH] Pin versions --- .github/workflows/build-and-publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index f55e725..ba7aa49 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -33,7 +33,7 @@ jobs: pdm build - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4 with: name: build-artifacts path: dist/ @@ -44,16 +44,15 @@ jobs: if: github.event_name == 'release' steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: name: build-artifacts - name: Publish to GitHub Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8 with: files: | - dist/*.whl - dist/*.tar.gz + dist/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}