-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pre release creation from publish workflow (#254)
- Loading branch information
1 parent
b2f39f3
commit bd07a59
Showing
1 changed file
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish and Release | ||
name: Publish Crates | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -7,7 +7,7 @@ on: | |
- v* | ||
|
||
jobs: | ||
publish_release: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
|
@@ -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 |