Skip to content

Commit 6618f46

Browse files
WillowSauceRWillowSauceR
authored andcommitted
Remove in workflow: scanall
1 parent beb8249 commit 6618f46

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ jobs:
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: "3.x"
24+
25+
- name: Set build info
26+
id: build_info
27+
run: |
28+
echo "build_time=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_OUTPUT
29+
echo "tag_name=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
30+
echo "commit_msg=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
31+
shell: bash
2432

2533
- name: Install dependencies
2634
run: |
@@ -33,8 +41,6 @@ jobs:
3341
pyinstaller -F motd.py
3442
pyinstaller -F send.py
3543
pyinstaller -F scan.py
36-
pyinstaller -F scanall.py
37-
echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")"
3844
3945
- name: Create script
4046
run: |
@@ -56,10 +62,12 @@ jobs:
5662
path: ./
5763
directory: ./dist/
5864

59-
- name: GH Release
65+
- name: Release
6066
uses: softprops/[email protected]
6167
env:
6268
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6369
with:
64-
tag_name: ${{ steps.tag.outputs.release_tag }}
70+
name: ${{ steps.build_info.outputs.commit_msg }}
71+
tag_name: ${{ steps.build_info.outputs.tag_name }}
72+
body: "Build time: ${{ steps.build_info.outputs.build_time }}"
6573
files: ./dist/MCBEprotocolTools.zip

0 commit comments

Comments
 (0)