From ebc527a79a9e86042cfc1a8b42b221da82e7b3cb Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Thu, 8 Aug 2024 00:58:51 +0800 Subject: [PATCH] updated github actions workflow --- .github/workflows/build-validation.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-validation.yml b/.github/workflows/build-validation.yml index 81577e7..23d73a6 100644 --- a/.github/workflows/build-validation.yml +++ b/.github/workflows/build-validation.yml @@ -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: |