Skip to content

Commit

Permalink
🤖 remove unintended nightly releases attempts on crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Aug 23, 2024
1 parent baa1f3d commit 8bbc935
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,5 @@ jobs:
name: ${{ env.TITLE }}
prerelease: ${{ env.IS_PRERELEASE }}
- name: Publish on crates.io
if: >
matrix.os == 'ubuntu-latest' && github.repository_owner == 'ttytm'
&& ((github.ref_name == 'main' && github.event_name == 'push') || github.ref_type == 'tag')
if: github.repository_owner == 'ttytm' && github.ref_type == 'tag' && matrix.os == 'ubuntu-latest'
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}

0 comments on commit 8bbc935

Please sign in to comment.