updated github actions workflow

This commit is contained in:
Vomitblood 2024-08-08 00:58:51 +08:00
parent 8753805c36
commit ebc527a79a

View file

@ -21,22 +21,23 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Get Variables
run: |
git config --global --add safe.directory /__w/stort/stort
echo "TAG_NAME=commit-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
# - name: Get Variables
# run: |
# git config --global --add safe.directory /__w/stort/stort
# echo "TAG_NAME=commit-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Update packages
run: apt update && apt upgrade -y
# - name: Update packages
# run: apt update && apt upgrade -y
- name: Install dependencies for Tauri
run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
# - name: Install dependencies for Tauri
# run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Rust
run: |
apt update && apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo $HOME
source "$HOME/.cargo/env"
. "$HOME/.cargo/env"
- name: Testing
run: |