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:
parent
7c13208c3b
commit
fcdab44c5d
9
.github/workflows/tauri.yml
vendored
9
.github/workflows/tauri.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user