Skip to content

Commit

Permalink
build fi
Browse files Browse the repository at this point in the history
  • Loading branch information
pksorensen committed May 9, 2024
1 parent cbc12ee commit 6ce99ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ jobs:
run: npm install @semantic-release/exec -D
working-directory: ./.github/workflows

- name: Add plugin for executing bash commands
run: npx semantic-release --dry-run --debug
working-directory: ./.github/workflows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: pksorensen
GIT_AUTHOR_EMAIL: poul@kjeldager.com


- name: Dry Run Semantic to get next Version nummber
working-directory: ./.github/workflows
env:
Expand Down Expand Up @@ -79,13 +70,22 @@ jobs:
- name: Restore NuGet packages
run: dotnet restore EAVFW.Extensions.OpenTelemetry.sln

- name: print version
run: echo "${{ toJSON(needs) }}"

- name: Package Parser
run: dotnet pack -c Release -p:PackageVersion=${{ needs.getversion.outputs.nextVersion}} -o ./artifacts
if: ${{ needs.getversion.outputs.nextVersion}}

- uses: actions/setup-node@v2
with:
node-version: '20'

- name: Add plugin for conventional commits
run: npm install conventional-changelog-conventionalcommits@7.0.1
working-directory: ./.github/workflows

- name: Add plugin for executing bash commands
run: npm install @semantic-release/exec -D
working-directory: ./.github/workflows

- name: Release to GitHub and NuGet
working-directory: .\\.github\\workflows
env:
Expand Down

0 comments on commit 6ce99ea

Please sign in to comment.