-
Notifications
You must be signed in to change notification settings - Fork 24
41 lines (37 loc) · 1.3 KB
/
ci-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "Linux build"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Set version number
run: .\version-number.ps1
shell: pwsh
- name: Run build script
env:
Tests_Github_Name : ${{ secrets.Tests_Github_Name }}
Tests_Github_PW : ${{ secrets.Tests_Github_PW }}
Tests_Github_RepoPrivate : ${{ secrets.Tests_Github_RepoPrivate }}
Tests_Bitbucket_Name : ${{ secrets.Tests_Bitbucket_Name }}
Tests_Bitbucket_PW : ${{ secrets.Tests_Bitbucket_PW }}
Tests_Bitbucket_RepoPrivateGit : ${{ secrets.Tests_Bitbucket_RepoPrivateGit }}
Tests_Gitlab_Name : ${{ secrets.Tests_Gitlab_Name }}
Tests_Gitlab_PW : ${{ secrets.Tests_Gitlab_PW }}
Tests_Gitlab_RepoPrivate : ${{ secrets.Tests_Gitlab_RepoPrivate }}
run: ./build-release.ps1
shell: pwsh
- name: Upload application
uses: actions/upload-artifact@v3
with:
name: Application
path: release/scm-backup-*.zip
- name: Upload test log
uses: actions/upload-artifact@v3
with:
name: Test log
path: src/ScmBackup.Tests.Integration/bin/Release/net8.0/*.log