From b4b182249d19b1292d773412cbda88d6fe140870 Mon Sep 17 00:00:00 2001 From: Mikael Svenson Date: Thu, 29 Aug 2024 21:31:19 +0200 Subject: [PATCH] Fix workflow files --- .github/workflows/publish-docs.yml | 1 - .github/workflows/publish.yml | 1 - .github/workflows/release.yml | 7 +++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 244af6c2..91f61d4e 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -16,7 +16,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - node-version: 18 - name: Setup python uses: actions/setup-python@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24c8995d..6ae58565 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,6 @@ jobs: - uses: actions/checkout@v4 with: ref: develop - node-version: 18 # setup nodejs - name: Use Node.js 18 uses: actions/setup-node@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f06a1281..c9ee1ce9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - node-version: 18 - name: Setup GitVersion uses: gittools/actions/gitversion/setup@v3.0.0 @@ -85,12 +84,12 @@ jobs: - uses: actions/download-artifact@v3 with: - name: pnp-modern-search-parts-${{ needs.build.outputs.semver }} + name: pnp-modern-search-parts-${{ needs.build.steps.gitversion.outputs.semver }} - name: Create GitHub release uses: ncipollo/release-action@v1 with: - name: PnP Modern Search - ${{ needs.build.outputs.semver }} + name: PnP Modern Search - ${{ needs.build.steps.gitversion.outputs.semver }} artifacts: ${{ github.workspace }}/**/*.sppkg bodyFile: ".github/workflows/release-template.md" draft: true @@ -98,7 +97,7 @@ jobs: allowUpdates: true replacesArtifacts: true prerelease: ${{ startsWith(github.ref_name, 'release') }} - tag: ${{ needs.build.outputs.majorMinorPatch }} + tag: ${{ needs.build.steps.gitversion.outputs.majorMinorPatch }} commit: ${{ github.ref_name }} - name: Setup python