File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed
Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Cache maven packages on master
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ tag_name :
6+ description : ' Tag to build on ubigu/oskari-server'
7+ required : true
8+ type : string
9+
10+ jobs :
11+ publish :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ packages : write
16+ steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ repository : ubigu/oskari-server
20+ token : ${{ secrets.GITHUB_TOKEN }}
21+ ref : refs/tags/${{ inputs.tag_name }}
22+ - name : ' Pull package utils from this repo'
23+ uses : actions/checkout@v4
24+ with :
25+ path : packageutils
26+
27+ - name : ' Apply patches from package utils'
28+ run : for i in packageutils/patches/*.patch; do git apply $i; done
29+
30+ - uses : actions/setup-java@v4
31+ with :
32+ java-version : ' 11'
33+ distribution : ' temurin'
34+ cache : ' maven'
35+
36+ - name : Fetch dependencies
37+ run : mvn --batch-mode dependency:resolve dependency:resolve-plugins
Original file line number Diff line number Diff line change 2323 path : packageutils
2424
2525 - name : ' Apply patches from package utils'
26- run : git apply packageutils/patches/oskari-pom.xml-deploy. patch
26+ run : for i in packageutils/patches/*. patch; do git apply $i; done
2727
2828 - uses : actions/setup-java@v4
2929 with :
You can’t perform that action at this time.
0 commit comments