mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Fix mkdocs major version issue
Includes an update to set-output as that will be deprecated in the future
This commit is contained in:
parent
1441ef9d25
commit
84c532ba96
4
.github/workflows/mkdocs.yml
vendored
4
.github/workflows/mkdocs.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
# or a push to main to update the latest documentation.
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
major: ${{ steps.tagged_version.outputs.major || steps.current_version.ouputs.major }}
|
||||
major: ${{ steps.tagged_version.outputs.major || steps.current_version.outputs.major }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3.1.0
|
||||
- uses: actions/setup-node@v3
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
id: current_version
|
||||
run: |
|
||||
VERSION=$(git show origin/main:package.json | jq -r .version | grep -Po '^(\d+)')
|
||||
echo "::set-output name=major::$VERSION"
|
||||
echo "major=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
mkdocs:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user