Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhang committed Dec 13, 2023
1 parent e9fa220 commit 0e196f8
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
- name: Checkout code
uses: nschloe/action-cached-lfs-checkout@v1

- name: Delete Release
if: inputs.nightly
run: gh release delete nightly --cleanup-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/setup-rust

- if: runner.os != 'Linux'
Expand Down Expand Up @@ -94,6 +88,17 @@ jobs:
runs-on: ubuntu-latest
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || inputs.nightly
steps:
- uses: actions/checkout@v4

- name: Delete Release
if: inputs.nightly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if gh release view nightly > /dev/null 2>&1; then
gh release delete nightly -y --cleanup-tag
fi
- uses: actions/download-artifact@v3
with:
name: artifact
Expand Down

0 comments on commit 0e196f8

Please sign in to comment.