Skip to content

Commit

Permalink
Fix workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
wobba committed Aug 29, 2024
1 parent debdda3 commit b4b1822
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
node-version: 18

- name: Setup python
uses: actions/setup-python@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
node-version: 18

- name: Setup GitVersion
uses: gittools/actions/gitversion/[email protected]
Expand Down Expand Up @@ -85,20 +84,20 @@ 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
generateReleaseNotes: true
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
Expand Down

0 comments on commit b4b1822

Please sign in to comment.