Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jzebedee committed Dec 3, 2023
1 parent bacd892 commit 1928f36
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@ jobs:
# In order to run netframework test targets
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET SDK - 6.0.x
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Setup .NET SDK - 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Setup .NET SDK - 3.1.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Install dependencies
run: dotnet restore
shell: bash
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: Upload packages to feeds
on:
release:
types: [created]
types: [created, edited]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x' # SDK Version to use.
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Pack
run: dotnet pack -c Release --output pkg
- name: Publish the package to GPR
Expand Down

0 comments on commit 1928f36

Please sign in to comment.