Skip to content

Commit

Permalink
added workflow
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 805edcc
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Tue Jul 12 12:03:07 2022 +0300

    fixed workflow

commit 0677a62
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Tue Jul 12 10:40:34 2022 +0300

    fixed workflow

commit 68f8621
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Tue Jul 12 02:24:53 2022 +0300

    fixed workflow

commit d54e61d
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Tue Jul 12 01:38:55 2022 +0300

    fixed workflow

commit ff82ca1
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Tue Jul 12 01:22:18 2022 +0300

    fixed workflow

commit 307214c
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Mon Jul 11 21:15:57 2022 +0300

    fixed workflow

commit 7f318fa
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Mon Jul 11 21:00:20 2022 +0300

    fixed workflows

commit b1d1b58
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Mon Jul 11 20:49:33 2022 +0300

    fixed workflows

commit db9d6ae
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Mon Jul 11 20:35:26 2022 +0300

    fixed build workflow

commit 4c0e151
Author: Eray Erdin <eraygezer.94@gmail.com>
Date:   Mon Jul 11 20:25:25 2022 +0300

    added build workflows to github
  • Loading branch information
erayerdin committed Jul 12, 2022
1 parent 042d96f commit 8728a35
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/build.linux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: build_linux

on: [push, pull_request]

jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable] # [stable, beta]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: "Install Dependencies"
run: sudo apt install libdbus-1-dev pkg-config libgtk-3-dev libgdk3.0-cil-dev libsoup2.4-dev libwebkit2gtk-4.0-dev libappindicator* -y
- name: "Install Tauri"
uses: actions-rs/cargo@v1
with:
command: install
args: tauri-cli
- name: "Build Tauri App"
uses: actions-rs/cargo@v1
with:
command: tauri
args: build
- name: "Rename Conflicting Assets"
run: |
mv src-tauri/target/release/taurapp src-tauri/target/release/taurapp_amd64_linux
- name: "Upload Build"
uses: actions/upload-artifact@v2
with:
name: taurapp_amd64_linux
path: src-tauri/target/release/taurapp_amd64_linux
retention-days: 1
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
src-tauri/target/release/taurapp_amd64_linux
src-tauri/target/release/bundle/appimage/taurapp_$GITHUB_REF_NAME_amd64.AppImage
src-tauri/target/release/bundle/deb/taurapp_$GITHUB_REF_NAME_amd64.deb

0 comments on commit 8728a35

Please sign in to comment.