mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-02 19:04:53 +00:00
Update to newest output syntax
This commit is contained in:
parent
089c737aeb
commit
d616411668
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -104,13 +104,13 @@ jobs:
|
|||
VERSION=$(cargo pkgid --manifest-path lychee-lib/Cargo.toml | cut -d "#" -f2)
|
||||
if cargo search lychee-lib | grep -q \"$VERSION\"; then
|
||||
echo "Lychee-lib version $VERSION is already published. Skipping."
|
||||
echo "::set-output name=published::true"
|
||||
echo "published=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "::set-output name=published::false"
|
||||
echo "published=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: cargo publish lychee-lib
|
||||
if: steps.check-release.outputs.published== 'false'
|
||||
if: steps.check-release.outputs.published == 'false'
|
||||
uses: actions-rs/cargo@v1
|
||||
env:
|
||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue