Skip to content

Commit 17cf174

Browse files
committed
Add pipeline
1 parent 7db271b commit 17cf174

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/continuous.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Continuous
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
release:
11+
types: [created]
12+
13+
jobs:
14+
ubuntu-latest:
15+
name: ubuntu-latest
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
22+
uses: actions/cache@v4
23+
with:
24+
path: |
25+
.nuke/temp
26+
~/.nuget/packages
27+
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
28+
- name: 'Run: Push'
29+
run: ./build.cmd Push
30+
env:
31+
FeedGitHubToken: ${{ secrets.FEED_GITHUB_TOKEN }}
32+
NuGetApiKey: ${{ secrets.NUGET_API_KEY }}
33+
- name: Report Coveralls
34+
uses: coverallsapp/github-action@v2
35+
- name: 'Publish: Artifacts'
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: Artifacts
39+
path: Artifacts

0 commit comments

Comments
 (0)