- 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
|
||||
run: |
|
||||
sudo apt-get install lua5.3 -y
|
||||
echo "### Successfully installed Lua 5.3! :tada:" >> $GITHUB_STEP_SUMMARY
|
||||
- name: Get app info
|
||||
id: app-info
|
||||
shell: lua {0}
|
||||
@@ -57,12 +58,14 @@ jobs:
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse --short ${{ GITHUB.SHA }})
|
||||
echo "commit-hash=$COMMIT_HASH" >> $GITHUB_OUTPUT
|
||||
echo "### Commit hash: \`$COMMIT_HASH\`" >> $GITHUB_STEP_SUMMARY
|
||||
- name: Assemble package base name
|
||||
id: assemble-base-name
|
||||
shell: bash
|
||||
run: |
|
||||
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 "### Package base name: \`$BASE_NAME\`" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
build-core:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user