File tree 5 files changed +1033
-1231
lines changed
5 files changed +1033
-1231
lines changed Original file line number Diff line number Diff line change 5
5
6
6
name : exist-db CI
7
7
8
- on : [push, pull_request ]
8
+ on : [push]
9
9
10
10
jobs :
11
11
build :
@@ -60,32 +60,26 @@ jobs:
60
60
- name : lint commit message
61
61
uses : wagoid/commitlint-github-action@v6
62
62
63
- # Commit repo.xml file
64
- - name : Commit and Push
65
- if : ${{ matrix.java-version == 17 && github.event_name == 'push' && github.ref != 'refs/heads/master' }}
66
- uses : actions-x/commit@v6
67
- with :
68
- message : " fix(repo.xml): update [skip ci]"
69
-
70
63
release :
71
64
name : Release
72
65
runs-on : ubuntu-latest
73
66
needs : build
74
67
if : github.ref == 'refs/heads/master'
75
68
steps :
76
69
- name : Checkout
77
- uses : actions/checkout@v4
70
+ uses : actions/checkout@v4
71
+ with :
72
+ persist-credentials : false
78
73
- name : Setup Node.js
79
74
uses : actions/setup-node@v4
80
75
with :
81
- cache : npm
76
+ cache : npm
82
77
node-version : lts/*
83
78
- name : Install dependencies
84
- run : npm ci --no-optional
79
+ run : npm ci --no-optional
85
80
- name : Perform Release
86
81
env :
87
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88
- PUBLIC_REPO : ${{ secrets.PUBLIC_REPO }}
82
+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
89
83
run : npx semantic-release
90
84
# TODO(DP):
91
85
# - add secrets to github
Original file line number Diff line number Diff line change 1
1
build /*
2
2
.existdb.json
3
3
.DS_Store
4
- expath-pkg.xml
5
4
.vscode /
6
5
.idea /
7
6
node_modules /
Original file line number Diff line number Diff line change 13
13
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
14
14
}],
15
15
["@semantic-release/git", {
16
- "assets": ["package.json ", "package-lock.json "],
16
+ "assets": ["expath-pkg.xml ", "repo.xml "],
17
17
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
18
18
}],
19
19
["@semantic-release/github", {
You can’t perform that action at this time.
0 commit comments