diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 4ed9d0d..033fc63 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -1,6 +1,9 @@ name: Rust -on: [pull_request] +on: + pull_request: + paths: + - 'Backend/**' env: CARGO_TERM_COLOR: always @@ -10,9 +13,7 @@ permissions: jobs: build: - - runs-on: ubuntu-latest - + runs-on: self-hosted defaults: run: working-directory: Backend/ diff --git a/.github/workflows/cross_native.yml b/.github/workflows/cross_native.yml new file mode 100644 index 0000000..c752d0c --- /dev/null +++ b/.github/workflows/cross_native.yml @@ -0,0 +1,27 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Dart + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + defaults: + run: + working-directory: Frontend/cross_native/ + steps: + - uses: actions/checkout@v3 + - name: Flutter action + uses: subosito/flutter-action@v2.16.0 + with: + channel: stable + - run: flutter build apk