mirror of
https://github.com/fluencelabs/marine-rs-sdk
synced 2025-03-15 14:30:48 +00:00
CI: fix publishing (#40)
This commit is contained in:
parent
ab6ed43f39
commit
7264f2aa4e
4
.github/workflows/publish_release.yml
vendored
4
.github/workflows/publish_release.yml
vendored
@ -52,14 +52,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
PKG_NAME=marine-rs-sdk
|
PKG_NAME=marine-rs-sdk
|
||||||
VERSION=$(cargo ws list -l | grep "$PKG_NAME"$ | head -n1 | awk '{ print $2 }')
|
VERSION=$(cargo ws list -l | grep "$PKG_NAME\s" | head -n1 | awk '{ print $2 }')
|
||||||
echo "VERSION=$VERSION" | tee -a $GITHUB_ENV
|
echo "VERSION=$VERSION" | tee -a $GITHUB_ENV
|
||||||
echo "PKG_NAME=$PKG_NAME" | tee -a $GITHUB_ENV
|
echo "PKG_NAME=$PKG_NAME" | tee -a $GITHUB_ENV
|
||||||
|
|
||||||
- name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
run: cargo ws publish --no-git-commit --from-git --skip-published --yes
|
run: cargo ws publish --no-git-commit --from-git --skip-published --yes
|
||||||
|
|
||||||
### Create a pre-release
|
### Create a release
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user