Skip to content

Commit 55b1557

Browse files
authored
Create BuildCacheRefresh.yml
1 parent 9d04af7 commit 55b1557

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: BuildCacheRefresh
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: check out commons
17+
uses: actions/checkout@v2
18+
with:
19+
repository: equipognoss/Gnoss.Commons.OpenCORE
20+
path: ./Gnoss.Commons
21+
ref: main
22+
- name: change folder
23+
run: |
24+
cd ..
25+
mv Gnoss.BackgroundTask.CacheRefresh.OpenCORE/Gnoss.Commons Gnoss.Commons
26+
cd Gnoss.BackgroundTask.CacheRefresh.OpenCORE
27+
- name: Setup .NET
28+
uses: actions/setup-dotnet@v1
29+
with:
30+
dotnet-version: 6.0.x
31+
- name: Restore dependencies
32+
run: dotnet restore
33+
- name: Build
34+
run: dotnet build --no-restore

0 commit comments

Comments
 (0)