- Try using step summaries
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -29,6 +29,7 @@ jobs:
|
|||||||
- name: Install lua
|
- name: Install lua
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install lua5.3 -y
|
sudo apt-get install lua5.3 -y
|
||||||
|
echo "### Successfully installed Lua 5.3! :tada:" >> $GITHUB_STEP_SUMMARY
|
||||||
- name: Get app info
|
- name: Get app info
|
||||||
id: app-info
|
id: app-info
|
||||||
shell: lua {0}
|
shell: lua {0}
|
||||||
@@ -57,12 +58,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
COMMIT_HASH=$(git rev-parse --short ${{ GITHUB.SHA }})
|
COMMIT_HASH=$(git rev-parse --short ${{ GITHUB.SHA }})
|
||||||
echo "commit-hash=$COMMIT_HASH" >> $GITHUB_OUTPUT
|
echo "commit-hash=$COMMIT_HASH" >> $GITHUB_OUTPUT
|
||||||
|
echo "### Commit hash: \`$COMMIT_HASH\`" >> $GITHUB_STEP_SUMMARY
|
||||||
- name: Assemble package base name
|
- name: Assemble package base name
|
||||||
id: assemble-base-name
|
id: assemble-base-name
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
BASE_NAME=Techmino_${{ steps.app-info.outputs.version-string }}_${{ steps.git-info.outputs.commit-hash }}_#${{ GITHUB.RUN_NUMBER }}
|
BASE_NAME=Techmino_${{ steps.app-info.outputs.version-string }}_${{ steps.git-info.outputs.commit-hash }}_#${{ GITHUB.RUN_NUMBER }}
|
||||||
echo "base-name=$BASE_NAME" >> $GITHUB_OUTPUT
|
echo "base-name=$BASE_NAME" >> $GITHUB_OUTPUT
|
||||||
|
echo "### Package base name: \`$BASE_NAME\`" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
build-core:
|
build-core:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user