Update LinuxBuild.yml #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build AppImage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y wget | |
- name: Download LinuxDeployQt | |
run: | | |
wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage | |
chmod +x linuxdeployqt-continuous-x86_64.AppImage | |
- name: Build AppImage | |
run: | | |
./linuxdeployqt-continuous-x86_64.AppImage build/OlopLinux -appimage | |
- name: Upload AppImage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: appimage | |
path: build/OlopLinux/Olop.AppImage |