mirror of
https://github.com/Vomitblood/stort.git
synced 2024-11-26 13:55:27 +08:00
updated github actions workflow
This commit is contained in:
parent
8753805c36
commit
ebc527a79a
19
.github/workflows/build-validation.yml
vendored
19
.github/workflows/build-validation.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue