Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
11bf439
dev
Apr 9, 2023
4dca80d
detector
Apr 11, 2023
223753c
dev
Apr 12, 2023
7209499
md2
qinwenming Apr 12, 2023
18f2c98
dev
qinwenming Apr 25, 2023
24067ed
dev
qinwenming Apr 26, 2023
a94430b
dev
qinwenming Apr 27, 2023
568ad00
dev
qinwenming May 10, 2023
b6a8f35
dev
qinwenming May 11, 2023
d3a1126
dev
qinwenming May 18, 2023
fdcf4e3
dev
qinwenming May 26, 2023
cc47355
dev
qinwenming May 29, 2023
502f98d
md2
qinwenming May 29, 2023
9753538
deb
qinwenming May 29, 2023
aafea30
dev
qinwenming Jun 1, 2023
175762c
detect distance change update gui
qinwenming Jun 1, 2023
0fc1a8e
ecpics
qinwenming Jun 2, 2023
081f6ca
ring current
qinwenming Jun 5, 2023
72962ff
dev
qinwenming Jun 9, 2023
ed65a93
state changed
qinwenming Jun 10, 2023
d4d7115
collect
qinwenming Jun 11, 2023
43e775a
resolution
qinwenming Jun 11, 2023
11dead3
image path
qinwenming Jun 13, 2023
73783a5
dev
qinwenming Jun 14, 2023
ad4e76d
sc
qinwenming Jun 16, 2023
919bba3
dev
qinwenming Jun 21, 2023
a765cdc
db
qinwenming Jun 26, 2023
14b253f
dev
qinwenming Jun 27, 2023
9dde7f2
save to db
qinwenming Jun 28, 2023
f5ebd4f
dev
qinwenming Jul 5, 2023
53129ab
dev
qinwenming Jul 26, 2023
4293ddb
dev
qinwenming Aug 14, 2023
c16765a
dev
qinwenming Aug 14, 2023
a4ab385
dev
qinwenming Aug 14, 2023
cdcab52
dev
qinwenming Aug 14, 2023
9a1b416
dev
qinwenming Aug 15, 2023
200ba3f
centring
qinwenming Aug 16, 2023
488741e
phase control
qinwenming Aug 15, 2023
d0d93ba
frontlight
qinwenming Aug 17, 2023
d1e4ad7
backlight
qinwenming Aug 17, 2023
0b83f3c
dev
qinwenming Aug 21, 2023
e2905fe
dev
qinwenming Aug 23, 2023
a61e0da
dev
qinwenming Sep 4, 2023
a330c32
beam y
qinwenming Sep 6, 2023
b2202e3
dev
qinwenming Sep 7, 2023
4d1d6ec
dev
qinwenming Sep 20, 2023
3f374c5
dev
qinwenming Oct 10, 2023
e8b7128
dev
qinwenming Oct 11, 2023
1e05032
Merge branch 'develop' of https://gitee.com/ssrfmx/mxcubecore_bl19u i…
qinwenming Oct 11, 2023
5190aed
dev
qinwenming Oct 15, 2023
58799a4
dev
qinwenming Oct 17, 2023
e356f8b
dev
qinwenming Oct 18, 2023
ffadaf7
dev
qinwenming Oct 31, 2023
1070ef9
dev
qinwenming Nov 7, 2023
a1471a9
dev
qinwenming Nov 21, 2023
fb3c386
dev
qinwenming Nov 22, 2023
4852cc3
dev
qinwenming Dec 12, 2023
797f30f
dev
qinwenming Dec 26, 2023
ff8ac49
尝试在报错后恢复机械手的状态
qinwenming Jan 2, 2024
6f01d71
20240112 调试raster scan,快要实现此功能
qinwenming Jan 11, 2024
5191fc6
20240112 调试raster scan,初步实现此功能,但绘制的网格在收集完数据后会偏移一些位置,暂未解决
qinwenming Jan 11, 2024
086e972
20240112 将两个epics值每次重启时设为0,BL19U1:cam1:PhiIncr,BL19U1:cam1:OmegaIncr
qinwenming Jan 11, 2024
30ec01e
20240116,尝试修复机械手发生ConnectionRefusedError之后,mxcube状态不复原问题,添加了发生错误后手动cl…
qinwenming Jan 16, 2024
73bd047
20240319,继续尝试配置raster,还有问题
qinwenming Mar 19, 2024
5521d74
20240320,继续配置raster scan,解决了正方形左上角和右下角相对应电机参数的问题,但还有bug
qinwenming Mar 20, 2024
392ed41
dev
qinwenming Mar 26, 2024
c97e36a
dev
qinwenming Mar 27, 2024
dd9655b
20240328
qinwenming Mar 28, 2024
143374b
dev
qinwenming Apr 3, 2024
3f9da30
dev
qinwenming Apr 9, 2024
1a73f41
dev
qinwenming Apr 11, 2024
ba406bb
20240414,将机械手相关配置改回mockup版
qinwenming Apr 14, 2024
5bdf638
20240416,机械手恢复,改为正常版本
qinwenming Apr 16, 2024
b2af7bd
Merge branch 'develop' of https://gitee.com/ssrfmx/mxcubecore_bl19u i…
qinwenming Apr 16, 2024
1bd83a1
dev
qinwenming Apr 18, 2024
beb5a84
dev
qinwenming Apr 18, 2024
4a36a23
20240424
qinwenming Apr 24, 2024
8b52c83
20240424,11:50
qinwenming Apr 24, 2024
29ad885
20240424,14
qinwenming Apr 24, 2024
818a3d5
20240429,尝试解决机械手报错后的转圈问题
qinwenming Apr 29, 2024
84f5e19
20240430,update
qinwenming May 1, 2024
e66d7f4
20240507,进一步完善raster scan,待测试是否有bug
qinwenming May 7, 2024
9e4ae3c
20240515,change to pilatus1m and comment the detector cover
qinwenming May 15, 2024
7759b63
20240515,try to fix detector distance
qinwenming May 16, 2024
bf69a31
seems succeed to use without epics of distance
qinwenming May 16, 2024
bfa6bca
dev
qinwenming May 21, 2024
4aed571
开始尝试自动收数据,增加一些dubug信息
qinwenming May 22, 2024
ade687b
20240529 改回探测器6m,恢复探测器盖板,但距离还是固定值
qinwenming May 29, 2024
750c15b
20240529 改回探测器距离
qinwenming May 29, 2024
4475e20
20240604 add datacollection test function
qinwenming Jun 4, 2024
e64d018
202406011 update for save
qinwenming Jun 11, 2024
c5222c5
202406011 update for save2
qinwenming Jun 11, 2024
fd2a722
dev
qinwenming Jul 2, 2024
beab1b2
dev
qinwenming Jul 16, 2024
51f3195
dev
qinwenming Jul 26, 2024
9fb9cb2
update some commit
qinwenming Sep 2, 2024
86cca69
update some db prepare code
qinwenming Sep 2, 2024
b562cc8
update some db prepare code
qinwenming Sep 2, 2024
450c944
update some db prepare code
qinwenming Sep 2, 2024
5f95090
update some db prepare code
qinwenming Sep 3, 2024
0ec0f9d
succeed to insert data into two tables before collection finished
qinwenming Sep 3, 2024
732bbf6
insert into db basically completed
qinwenming Sep 3, 2024
af0a33b
add comments
qinwenming Sep 6, 2024
24c9039
save20240924
qinwenming Sep 24, 2024
3edc34f
收四张初步成功
qinwenming Sep 25, 2024
083e322
transfer snapshot
qinwenming Sep 30, 2024
e530085
try to update snapshot info to db
qinwenming Sep 30, 2024
3e05849
add some comment
qinwenming Oct 9, 2024
e8b4d55
try to transfer and show snapshot
qinwenming Oct 15, 2024
1837284
修改19u代码,切换configion到mockup,使可以在本地电脑打开
floodfighter Oct 16, 2024
9428ccb
修改部分代码,使恢复可以从xml读取样品信息功能
floodfighter Oct 16, 2024
338aeb0
因为前端有报错,衍射仪器相关,修改部分代码,主要是minidiff.xml,修复报错
floodfighter Oct 17, 2024
49d73eb
在分析bug,
floodfighter Oct 23, 2024
0044b39
update beam center
qinwenming Oct 23, 2024
faec031
update beam center
qinwenming Oct 23, 2024
94cf24c
20241025,本周哦调试结束
floodfighter Oct 25, 2024
1d0d07b
save for 20241029
floodfighter Oct 29, 2024
a2d3a06
save for 20241104
floodfighter Nov 4, 2024
f8653a9
1、更改机械手power初始状态为1,屏蔽关于power的各个按钮
floodfighter Nov 5, 2024
4547ea9
save for update
floodfighter Nov 15, 2024
f76772e
save for update
floodfighter Nov 29, 2024
c0d8fe9
save for update,ui输入框的默认值继续完善,四个基本参数可从config读取
floodfighter Dec 16, 2024
c5ca1a3
comment the cryo control
qinwenming Dec 17, 2024
35373f1
save for update,继续开发ui表格界面
floodfighter Dec 24, 2024
6e3f4e2
注释掉写入探测器epics的电脑日期
qinwenming Jan 4, 2025
10c34a1
qwe problem
qinwenming Jan 6, 2025
f69b709
update
qinwenming Jan 24, 2025
59cd1c0
merge office test into develop
qinwenming Feb 7, 2025
c056772
FlexMaint adapted finished
qinwenming Feb 8, 2025
72706b2
save the update
qinwenming Feb 8, 2025
5026fb9
initially complete the adaptation of the flex robot
qinwenming Feb 9, 2025
927a413
注释掉please closelid first相关功能,并修复无法2d-point collection的bug
qinwenming Feb 20, 2025
9e5e859
恢复在启动mxucbe时同步与flex机械手已上样样品信息的功能
qinwenming Feb 20, 2025
a8842f4
update
qinwenming Feb 20, 2025
7b6f2eb
save
qinwenming Feb 26, 2025
21e539c
save
qinwenming Feb 26, 2025
206a1d8
save
qinwenming Feb 27, 2025
d9e1997
save
qinwenming Feb 28, 2025
a432756
save
qinwenming Mar 1, 2025
3364697
save
qinwenming Mar 2, 2025
0de7f34
comment the powerOn powerOff command
qinwenming Mar 2, 2025
1c64ec3
comment the powerOn powerOff command
qinwenming Mar 2, 2025
c6beafe
save
qinwenming Mar 2, 2025
7e5098b
mxcube开启时直接开始读取flex状态
qinwenming Mar 2, 2025
857f372
读取status 和samplePollLN2Level
qinwenming Mar 2, 2025
4288553
update
qinwenming Mar 2, 2025
761116d
从18更新代码,2d point收集,可以保存centring坐标功能
qinwenming Mar 4, 2025
e04a909
更改光心
qinwenming Mar 5, 2025
2d94298
更改光心
qinwenming Mar 5, 2025
53ce97b
1、成功通过前端按钮直接生成原先3-click才会产生的point
qinwenming Mar 12, 2025
35da860
commit new direct collect button,and add time sleep
qinwenming Mar 16, 2025
76d4461
补充:上一次commit将quick mount collect和原始三点对中data collect分开,取消update 按键
qinwenming Mar 16, 2025
2cc3a2b
添加后端plate文件
qinwenming Mar 18, 2025
0af8581
plate类实时读取current plate location并改变上样sample(模拟)
qinwenming Mar 18, 2025
a7cbc39
SC.py 的status,前后端联动,sc_maint.py的poweroff,会设置SC.py的state和status为disable…
qinwenming Mar 18, 2025
dba32ed
更改上次提交错误,SC.py 的status,前后端联动,sc_maint.py的poweroff,会设置SC.py的state和stat…
qinwenming Mar 18, 2025
4fc0d30
创建按键,显示是否为plate mode 模式,并可以点击开启关闭plate 模式,当开启plate模式时,机械手的sc的两个状态及mai…
qinwenming Mar 18, 2025
2efae2a
当当前有机械手上样的样品时,无法切换plate mode,从plate mode切换成普通模式时,清除掉所有样品
qinwenming Mar 18, 2025
2e3658b
修复液氮为0会一直更新数值的问题
qinwenming Mar 18, 2025
42c9e02
初步测试
qinwenming Mar 18, 2025
cb86b4a
初步解决010问题,plate页面删除quickmount组件
qinwenming Mar 20, 2025
ef07e2c
修复bug
qinwenming Mar 20, 2025
8ff3f46
sc.xml -> seven puck
qinwenming Mar 20, 2025
160a8c0
增加了MD2S衍射仪REX冷头的切换功能
qinwenming Apr 23, 2025
645f436
20250828
qinwenming Aug 28, 2025
777f252
20250903
qinwenming Sep 3, 2025
5b35512
track all
qinwenming Sep 4, 2025
ff1f5a9
修改了MD2.py里面的坐标转换方法
qinwenming Sep 8, 2025
4289184
在mxcollect.xml配置文件中添加自动收集参数设为True,修改了MD2的运动方向
qinwenming Sep 9, 2025
57e3d21
修改自动收集的路径,完成探测器自动数据收集
qinwenming Sep 18, 2025
0f2abdc
20250925
qinwenming Sep 25, 2025
6584494
dev
qinwenming Sep 25, 2025
f447470
20251002
qinwenming Oct 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 21 additions & 21 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[bumpversion]
commit = True
message = Bump version {current_version} to {new_version}
tag = True
tag_name = {new_version}
current_version = 0.0.0
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{dev}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = gamma
values =
dev
rc
gamma

[bumpversion:part:dev]

[bumpversion:file:setup.py]
[bumpversion]
commit = True
message = Bump version {current_version} to {new_version}
tag = True
tag_name = {new_version}
current_version = 0.0.0
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{dev}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = gamma
values =
dev
rc
gamma
[bumpversion:part:dev]
[bumpversion:file:setup.py]
22 changes: 11 additions & 11 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[run]
omit =
setup.py
test/*
mxcubecore/HardwareObjects/ALBA/*
mxcubecore/HardwareObjects/DESY/*
mxcubecore/HardwareObjects/EMBL/*
mxcubecore/HardwareObjects/ESRF/*
mxcubecore/HardwareObjects/LNLS/*
mxcubecore/HardwareObjects/MAXIV/*
mxcubecore/HardwareObjects/SOLEIL/*
[run]
omit =
setup.py
test/*
mxcubecore/HardwareObjects/ALBA/*
mxcubecore/HardwareObjects/DESY/*
mxcubecore/HardwareObjects/EMBL/*
mxcubecore/HardwareObjects/ESRF/*
mxcubecore/HardwareObjects/LNLS/*
mxcubecore/HardwareObjects/MAXIV/*
mxcubecore/HardwareObjects/SOLEIL/*
38 changes: 19 additions & 19 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[flake8]
ignore =
# Whitespace before ':' [https://www.flake8rules.com/rules/E203.html]
E203,
# Too many leading '#' for block comment [https://www.flake8rules.com/rules/E266.html]
E266,
# Line too long (82 > 79 characters) [https://www.flake8rules.com/rules/E501.html]
E501,
# Line break occurred before a binary operator [https://www.flake8rules.com/rules/W503.html]
W503,
# 'from module import *' used; unable to detect undefined names [https://www.flake8rules.com/rules/F403.html]
F403,
# Module imported but unused [https://www.flake8rules.com/rules/F401.html]
F401,
# Line too long (99 > 88) [https://github.com/PyCQA/flake8-bugbear/blob/main/README.rst#list-of-warnings]
B950
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
[flake8]
ignore =
# Whitespace before ':' [https://www.flake8rules.com/rules/E203.html]
E203,
# Too many leading '#' for block comment [https://www.flake8rules.com/rules/E266.html]
E266,
# Line too long (82 > 79 characters) [https://www.flake8rules.com/rules/E501.html]
E501,
# Line break occurred before a binary operator [https://www.flake8rules.com/rules/W503.html]
W503,
# 'from module import *' used; unable to detect undefined names [https://www.flake8rules.com/rules/F403.html]
F403,
# Module imported but unused [https://www.flake8rules.com/rules/F401.html]
F401,
# Line too long (99 > 88) [https://github.com/PyCQA/flake8-bugbear/blob/main/README.rst#list-of-warnings]
B950
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
98 changes: 49 additions & 49 deletions .github/workflows/coverage_report.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
name: Coverage Report
on:
pull_request:
types: [opened, reopened, synchronize]
paths:
- '**.py'
jobs:
pytest-coverage:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
python -m pip install --upgrade pip
python -m pip install poetry --user
python -m poetry install

- name: Run and write pytest
run: |
set -o pipefail
poetry run pytest --cov=mxcubecore --junitxml=pytest.xml --cov-report=term-missing:skip-covered | tee pytest-coverage.txt

- name: Pytest coverage comment
id: coverage-comment
uses: MishaKav/pytest-coverage-comment@v1.1.40
with:
repo-token: ${{ secrets.CI_TOKEN }}
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
report-only-changed-files: true

- name: Check the output coverage
run: |
echo "Coverage Percantage - ${{ steps.coverage-comment.outputs.coverage }}"
echo "Coverage Warnings - ${{ steps.coverage-comment.outputs.warnings }}"
echo "Coverage Errors - ${{ steps.coverage-comment.outputs.errors }}"
echo "Coverage Failures - ${{ steps.coverage-comment.outputs.failures }}"
echo "Coverage Skipped - ${{ steps.coverage-comment.outputs.skipped }}"
echo "Coverage Tests - ${{ steps.coverage-comment.outputs.tests }}"
echo "Coverage Time - ${{ steps.coverage-comment.outputs.time }}"
name: Coverage Report
on:
pull_request:
types: [opened, reopened, synchronize]
paths:
- '**.py'
jobs:
pytest-coverage:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev
python -m pip install --upgrade pip
python -m pip install poetry --user
python -m poetry install
- name: Run and write pytest
run: |
set -o pipefail
poetry run pytest --cov=mxcubecore --junitxml=pytest.xml --cov-report=term-missing:skip-covered | tee pytest-coverage.txt
- name: Pytest coverage comment
id: coverage-comment
uses: MishaKav/pytest-coverage-comment@v1.1.40
with:
repo-token: ${{ secrets.CI_TOKEN }}
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
report-only-changed-files: true
- name: Check the output coverage
run: |
echo "Coverage Percantage - ${{ steps.coverage-comment.outputs.coverage }}"
echo "Coverage Warnings - ${{ steps.coverage-comment.outputs.warnings }}"
echo "Coverage Errors - ${{ steps.coverage-comment.outputs.errors }}"
echo "Coverage Failures - ${{ steps.coverage-comment.outputs.failures }}"
echo "Coverage Skipped - ${{ steps.coverage-comment.outputs.skipped }}"
echo "Coverage Tests - ${{ steps.coverage-comment.outputs.tests }}"
echo "Coverage Time - ${{ steps.coverage-comment.outputs.time }}"
156 changes: 78 additions & 78 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
name: Create/Update Tag
on:
push:
branches:
- develop
jobs:
create-version-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Read package version
id: set-tag
run: |
pip install --upgrade pip
pip install toml
echo ::set-output name=tag_name::v$(python -c 'import toml; print(toml.load("./pyproject.toml")["tool"]["poetry"]["version"])')

- name: Check tag exists
id: check-tag-exists
uses: actions/github-script@v6
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
// https://github.com/mukunku/tag-exists-action
var exists = 'false';
try {
const getRefResponse = await github.rest.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}"
});

if (getRefResponse.status === 200) {
console.log("Tag was found");
exists = 'true';
}
} catch(error) {
console.log("Tag was not found");
}
core.setOutput('exists', exists);

- name: Update tag
uses: actions/github-script@v6
if: steps.check-tag-exists.outputs.exists == 'true'
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
github.rest.git.updateRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}",
sha: context.sha
})

- name: Create tag
uses: actions/github-script@v6
if: steps.check-tag-exists.outputs.exists != 'true'
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}",
sha: context.sha
})
name: Create/Update Tag
on:
push:
branches:
- develop
jobs:
create-version-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Read package version
id: set-tag
run: |
pip install --upgrade pip
pip install toml
echo ::set-output name=tag_name::v$(python -c 'import toml; print(toml.load("./pyproject.toml")["tool"]["poetry"]["version"])')
- name: Check tag exists
id: check-tag-exists
uses: actions/github-script@v6
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
// https://github.com/mukunku/tag-exists-action
var exists = 'false';
try {
const getRefResponse = await github.rest.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}"
});
if (getRefResponse.status === 200) {
console.log("Tag was found");
exists = 'true';
}
} catch(error) {
console.log("Tag was not found");
}
core.setOutput('exists', exists);
- name: Update tag
uses: actions/github-script@v6
if: steps.check-tag-exists.outputs.exists == 'true'
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
github.rest.git.updateRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}",
sha: context.sha
})
- name: Create tag
uses: actions/github-script@v6
if: steps.check-tag-exists.outputs.exists != 'true'
env:
TAG: ${{ steps.set-tag.outputs.tag_name }}
with:
github-token: ${{ github.token }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}",
sha: context.sha
})
Loading