From 6b900c8f5d8c67965748b9d366eba001b22def50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mutlu=20=C5=9Fim=C5=9Fek?= Date: Fri, 7 Jun 2024 19:56:51 +0300 Subject: [PATCH] revert download artifact to v3 and remove tag --- .github/workflows/CI.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d3f0cce..a19d315 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -178,8 +178,7 @@ jobs: python scripts/make_resources.py - name: Run tests run: cargo test --verbose - - if: "startsWith(github.ref, 'refs/tags/')" - name: Publish Crate + - name: Publish Crate run: cargo publish --token ${CRATES_TOKEN} --allow-dirty env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} @@ -192,11 +191,10 @@ jobs: steps: - name: Retrieve release distributions - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: release-dists path: dist/ - - if: "startsWith(github.ref, 'refs/tags/')" - name: Publish release distributions to PyPI + - name: Publish release distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1