Skip to content

Commit

Permalink
update github action file (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnkwlp authored Jul 7, 2024
1 parent cc86111 commit 56a7e6c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@ name: build

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 5.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
name: build and pack
name: pack

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 5.0.x
dotnet-version: 8.0.x

- name: Install Dotnet Tool
run: |
Expand Down

0 comments on commit 56a7e6c

Please sign in to comment.