include build date

use pwsh instead of cmd on windows workflows
This commit is contained in:
tGecko 2024-09-01 17:24:53 +02:00
parent df7e25d9aa
commit ad22e2cfac
6 changed files with 38 additions and 29 deletions

View file

@ -34,12 +34,14 @@ jobs:
- name: Run AppImage packaging script
run: ./.github/linux-appimage-qt.sh
- name: Retrieve Git Hash
id: git-hash
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Get date and git hash
id: vars
run: |
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
echo "shorthash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: shadps4-linux-qt-${{ steps.git-hash.outputs.hash }}
name: shadps4-linux-qt-${{ steps.vars.outputs.date }}-${{ steps.vars.outputs.shorthash }}
path: Shadps4-qt.AppImage