it _is_ ubuntu based
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m32s Details

This commit is contained in:
Martyn Ranyard 2023-11-06 16:06:04 +01:00
parent cf2487af89
commit 29fea79c74
No known key found for this signature in database
1 changed files with 4 additions and 5 deletions

View File

@ -16,12 +16,11 @@ jobs:
mkdir -p $HOME/bin mkdir -p $HOME/bin
wget -O $HOME/bin/gotempl https://github.com/link-society/gotempl/releases/download/v0.7.0/gotempl-linux-amd64 wget -O $HOME/bin/gotempl https://github.com/link-society/gotempl/releases/download/v0.7.0/gotempl-linux-amd64
chmod +x $HOME/bin/gotempl chmod +x $HOME/bin/gotempl
- name: Install dependencies (ubuntu only) - name: Install dependencies
if: matrix.platform == 'ubuntu-20.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature. # You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: | run: |
sudo apt-get update apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Rust cache - name: Rust cache
@ -29,7 +28,7 @@ jobs:
with: with:
workspaces: './src-tauri -> target' workspaces: './src-tauri -> target'
- name: Install windows cross-compiling deps - name: Install windows cross-compiling deps
run: sudo apt install nsis lld llvm run: apt install nsis lld llvm
- name: And allow rust to work with them - name: And allow rust to work with them
run: | run: |
rustup target add x86_64-pc-windows-msvc rustup target add x86_64-pc-windows-msvc