Skip to content

Commit

Permalink
Remove pre release creation from publish workflow (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank authored Feb 15, 2024
1 parent b2f39f3 commit bd07a59
Showing 1 changed file with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish and Release
name: Publish Crates

on:
workflow_dispatch:
Expand All @@ -7,7 +7,7 @@ on:
- v*

jobs:
publish_release:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -16,17 +16,7 @@ jobs:
uses: mozilla-actions/[email protected]
timeout-minutes: 5
continue-on-error: true
- name: Publish
- name: Publish crates
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: ./scripts/publish.sh
- name: Create Pre-Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Release notes for version ${{ github.ref }}:
prerelease: true

0 comments on commit bd07a59

Please sign in to comment.