-
Notifications
You must be signed in to change notification settings - Fork 19
45 lines (36 loc) · 1.07 KB
/
SvnDist.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
42
43
44
45
name: SvnDist
on:
#push:
# branches: [ main, stable/* ]
workflow_dispatch:
env:
nant: '${{ github.workspace }}/src/packages/NAnt.0.92.0/tools/nant.exe'
jobs:
build:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
- name: Cache
uses: actions/cache@v4
with:
path: |
imports/downloads
key: ${{runner.os}}-dist-${{ hashFiles('build/imports/*.build') }}
- name: Install NAnt
working-directory: imports/
run: nuget.exe install NAnt
- name: Run NAnt build
run: ${{env.nant}} -f:tools/buildbot.build "-D:CCNetNumericLabel=${{ github.run_number }}" "-D:CCNetProject=SlikSvn" -D:svnDist=true -D:gitBuild=true buildbot-build package-svndist
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: svndist-files
path: |
imports/svn-dist/dist*/*.zip
imports/svn-dist/dist*/*.msi