feat: try get sha?
This commit is contained in:
parent
50015f97ad
commit
7162724cc2
8
.github/workflows/nuitka.yml
vendored
8
.github/workflows/nuitka.yml
vendored
@ -13,6 +13,7 @@ on:
|
||||
# 主任务
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name == 'push' && !startsWith(github.event.ref, 'refs/tags/') && contains(github.event.head_commit.message, '[build skip]') == false }}
|
||||
# 全都要!
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -26,6 +27,13 @@ jobs:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# 获取短 sha
|
||||
- name: Get short commit sha
|
||||
id: get_short_sha
|
||||
run: |
|
||||
short_sha=$(echo ${GITHUB_SHA} | cut -c1-7)
|
||||
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
|
||||
|
||||
# 安装 Python
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
|
@ -1,31 +0,0 @@
|
||||
{
|
||||
"Editor": {
|
||||
"runtime": {
|
||||
"toolbar.dark": "ToolbarDark.png",
|
||||
"toolbar.light": "ToolbarLight.png",
|
||||
"button_side.dark": "ButtonDarkSide.png",
|
||||
"button_side.light": "ButtonLightSide.png"
|
||||
},
|
||||
"toggle_button": {
|
||||
"stage": "ToolbarIconStaging.png",
|
||||
"add_part": "ToolbarIconAddPart.png",
|
||||
"menu": "ToolbarIconMenu.png"
|
||||
},
|
||||
"push_button": {
|
||||
"zoom": "ToolbarIconZoom.png",
|
||||
"zoom.in": "ToolbarIconZoomIn.png",
|
||||
"zoom.out": "ToolbarIconZoomOut.png",
|
||||
"play": "ToolbarIconPlay.png",
|
||||
"rotate": "RotateButton.png",
|
||||
"trash_can": "TrashCan.png"
|
||||
}
|
||||
},
|
||||
"Runtime": {
|
||||
},
|
||||
"Parts": {
|
||||
"battery": "Battery.png",
|
||||
"beam": "Beam.png",
|
||||
"cover_bottom": "CoverBottom.png",
|
||||
"nose_cone": "NoseCone.png"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user