-
Notifications
You must be signed in to change notification settings - Fork 5
Crate release workflows #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| crates-publish: | ||
| runs-on: ubuntu-latest | ||
| environment: crates-release-prod | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | ||
|
|
||
| - name: Set Up Rust Toolchain | ||
| uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 #1.10.1 | ||
| with: | ||
| toolchain: stable | ||
| override: true | ||
|
|
||
| - name: Publish Crate | ||
| run: cargo publish --package spawned-concurrency --token ${{ secrets.CRATES_IO_TOKEN }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| crates-publish: | ||
| runs-on: ubuntu-latest | ||
| environment: crates-release-prod | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | ||
|
|
||
| - name: Set Up Rust Toolchain | ||
| uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 #1.10.1 | ||
| with: | ||
| toolchain: stable | ||
| override: true | ||
|
|
||
| - name: Publish Crate | ||
| run: cargo publish --package spawned-rt --token ${{ secrets.CRATES_IO_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,8 @@ | |
| name = "spawned-concurrency" | ||
| version = "0.1.0" | ||
| edition = "2021" | ||
| description = "Spawned Concurrency" | ||
| license = "MIT" | ||
|
||
|
|
||
| [dependencies] | ||
| spawned-rt = { workspace = true } | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs to change, we need to import from crates.io instead of locally, as it's forbidden to publish with a workspace dependency. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to set a
CRATES_IO_TOKENThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@klaus993 please set the LambdaClass one here.