Skip to content

Commit

Permalink
chore(ci): fix release ci (#259)
Browse files Browse the repository at this point in the history
* chore(ci): add `--workspace` instruction

* chore(ci): fix release ci by looking for the correct crate

* chore(ci): add `--workspace` instruction

* chore(ci): fix cargo warnings

* chore(ci): remove examples/test from msrv check

* chore(ci): add .vscode to ignored folders

* chore(ci): add `--workspace` instruction

* chore(ci): add `--workspace` instruction

* chore(ci): bump actions to run node 20 (16 is deprecated)

* chore(ci): fix release ci
  • Loading branch information
Totodore authored Jan 25, 2024
1 parent 908e1a0 commit be1e5b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

- name: Get releasing version
working-directory: .
run:
run: |
NEXT_VERSION=$(sed -nE 's/^\s*version = "(.*?)"/\1/p' Cargo.toml) >> $GITHUB_ENV
echo NEXT_VERSION=$NEXT_VERSION >> $GITHUB_ENV
echo $NEXT_VERSION
- name: Check published version
run:
run: |
PREV_VERSION=$(cargo search socketioxide --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -)
echo PREV_VERSION=$PREV_VERSION >> $GITHUB_ENV
echo $PREV_VERSION
Expand All @@ -49,6 +49,8 @@ jobs:

publish:
runs-on: ubuntu-latest
needs:
- git-tag
strategy:
fail-fast: false
max-parallel: 1
Expand Down

0 comments on commit be1e5b0

Please sign in to comment.