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:37:37 -05:00 committed by GitHub
parent fa598cb0da
commit 0f6ecbabd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,16 +31,12 @@ jobs:
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsoup-3.0-dev libjavascriptcoregtk-4.1-dev sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsoup-3.0-dev libjavascriptcoregtk-4.1-dev
- name: Install Frontend Dependencies - name: Install Frontend Dependencies
run: pnpm i run: pnpm i
- name: Get Short Commit SHA
run: |
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV"
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tagName: client-v${{ env.branch }}_${{ env.sha_short }} tagName: client-v${GITHUB_REF#refs/heads/}_${GITHUB_SHA::7}
releaseName: "Spacebar Client v${{ env.branch }}_${{ env.sha_short }}" releaseName: "Spacebar Client v${GITHUB_REF#refs/heads/}_${GITHUB_SHA::7}"
releaseBody: "See the assets to download this version and install." releaseBody: "See the assets to download this version and install."
releaseDraft: false releaseDraft: false
prerelease: true prerelease: true