Skip to content

Commit

Permalink
chore: github action cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewTriesToCode committed Nov 1, 2024
1 parent 001e782 commit dc2a588
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build-and-test:
strategy:
matrix:
dotnet: ['6.0.x', '7.0.x', '8.0.x']
dotnet: ['8.0.x']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/release-dryrun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on: [workflow_dispatch]

jobs:
build-test-prep-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: build and test
run: |
dotnet restore
dotnet build -c Release --no-restore -p:ContinuousIntegrationBuild=true
dotnet test -c Release --no-build
- name: setup semantic-release
run: |
npm install -D semantic-release
npm install -D @semantic-release/git
npm install -D @semantic-release/changelog
npm install -D @semantic-release/exec
npm install -D conventional-changelog-conventionalcommits
- name: run semantic-release
env:
GH_TOKEN: ${{ secrets.workflow_pat }}
run: npx semantic-release --dry-run

0 comments on commit dc2a588

Please sign in to comment.