Skip to content

Commit

Permalink
revert download artifact to v3 and remove tag
Browse files Browse the repository at this point in the history
  • Loading branch information
deadsoul44 committed Jun 7, 2024
1 parent 4602663 commit 6b900c8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

0 comments on commit 6b900c8

Please sign in to comment.