Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
z_stack
Activiti
提交
55047ac4
A
Activiti
项目概览
z_stack
/
Activiti
10 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Activiti
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
55047ac4
编写于
2月 16, 2022
作者:
E
Elias Ricken de Medeiros
提交者:
GitHub
2月 16, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ci: change the pattern used by internal releases (#3828)
上级
79b2bc24
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
25 addition
and
18 deletion
+25
-18
.github/workflows/main.yml
.github/workflows/main.yml
+25
-18
未找到文件。
.github/workflows/main.yml
浏览文件 @
55047ac4
...
...
@@ -59,18 +59,19 @@ jobs:
key
:
${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys
:
${{ runner.os }}-m2
-
name
:
Build with Maven
run
:
mvn -B verify
-
name
:
Install jx-release-version
-
uses
:
actions/setup-python@v2
if
:
${{ github.event_name == 'push' }}
uses
:
Alfresco/alfresco-build-tools/.github/actions/setup-jx-release-version@v1.1.0
-
uses
:
Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v1.2.0
if
:
${{ github.event_name == 'push' }}
-
id
:
next-release
if
:
${{ github.event_name == 'push' }}
name
:
Calculate next internal release
uses
:
Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v1.2.0
-
name
:
Bump version with jx-release-version
-
name
:
Update VERSION file
if
:
${{ github.event_name == 'push' }}
run
:
|
git fetch --tags -q
echo $(jx-release-version -previous-version=from-tag:7.1 -next-version increment) > VERSION
echo ${{steps.next-release.outputs.next-prerelease}} > VERSION
-
name
:
Set preview version
if
:
${{ contains(github.head_ref, 'preview') }}
...
...
@@ -85,14 +86,12 @@ jobs:
echo set VERSION=$VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
-
name
:
Deploy with Mave
n
-
name
:
Update pom files to the new versio
n
if
:
${{ github.event_name == 'push' || contains(github.head_ref, 'preview') }}
run
:
|
mvn -B versions:set -DnewVersion=$VERSION -DprocessAllModules=true -DgenerateBackupPoms=false
mvn -B -s settings.xml deploy -DskipTests
env
:
MAVEN_USERNAME
:
${{ secrets.NEXUS_USERNAME }}
MAVEN_PASSWORD
:
${{ secrets.NEXUS_PASSWORD }}
run
:
mvn -B versions:set -DnewVersion=$VERSION -DprocessAllModules=true -DgenerateBackupPoms=false
-
name
:
Build with Maven
run
:
mvn -B verify
-
name
:
Configure git user
if
:
${{ github.event_name == 'push' }}
...
...
@@ -106,12 +105,20 @@ jobs:
if
:
${{ github.event_name == 'push' }}
run
:
|
git commit -am "Release $VERSION" --allow-empty
git tag -fa v$VERSION -m "Release version $VERSION"
git push -f -q origin v$VERSION
git tag -fa $VERSION -m "Release version $VERSION"
git push -f -q origin $VERSION
-
name
:
Deploy with Maven
if
:
${{ github.event_name == 'push' || contains(github.head_ref, 'preview') }}
run
:
|
mvn -B -s settings.xml deploy -DskipTests
env
:
MAVEN_USERNAME
:
${{ secrets.NEXUS_USERNAME }}
MAVEN_PASSWORD
:
${{ secrets.NEXUS_PASSWORD }}
-
name
:
Install updatebot
if
:
${{ github.event_name == 'push' }}
uses
:
Alfresco/alfresco-build-tools/.github/actions/setup-updatebot@v1.
1
.0
uses
:
Alfresco/alfresco-build-tools/.github/actions/setup-updatebot@v1.
2
.0
-
name
:
Run updatebot
if
:
${{ github.event_name == 'push' }}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录