1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00

Update tauri.yml

This commit is contained in:
Puyodead1 2023-12-10 01:56:31 -05:00 committed by GitHub
parent 7c13208c3b
commit fcdab44c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,13 @@ jobs:
run: pnpm i
- name: Set environment variables
run: |
echo "TAG_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "TAG_SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
if [ "${RUNNER_OS}" == "Windows" ]; then
echo "TAG_BRANCH=${GITHUB_REF:11}" >> $GITHUB_ENV
echo "TAG_SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
else
echo "TAG_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "TAG_SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
fi
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}