File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Context Mapper Release Trigger
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ prepare_release :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v2
12+ with :
13+ fetch-depth : 0
14+ - name : Set up JDK 11
15+ uses : actions/setup-java@v1
16+ with :
17+ java-version : 11
18+ server-id : github
19+ - name : Configure Git user
20+ run : |
21+ git config user.email "actions@github.com"
22+ git config user.name "GitHub Actions"
23+ - name : Install Graphviz
24+ run : sudo apt-get -y install graphviz
25+ - name : Cache local Maven repository
26+ uses : actions/cache@v2
27+ with :
28+ path : ~/.m2/repository
29+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
30+ restore-keys : |
31+ ${{ runner.os }}-maven-
32+ - name : Grant execute permission for mvnw
33+ run : chmod +x mvnw
34+ - name : Prepare Release
35+ run : ./mvnw --settings ./.github/workflows/settings.xml clean release:prepare -B
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+
Original file line number Diff line number Diff line change 66 <servers >
77 <server >
88 <id >github</id >
9- <username >${env.GITHUB_USERNAME} </username >
10- <password >${env.GITHUB_PASSWORD }</password >
9+ <username >stefan-ka </username >
10+ <password >${env.GITHUB_TOKEN }</password >
1111 </server >
1212 </servers >
1313 <profiles >
You can’t perform that action at this time.
0 commit comments