Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
if: github.base_ref == 'main'
run: curl -L "docs.google.com/spreadsheets/d/${{ secrets.SHEET_ID }}/gviz/tq?tqx=out:csv&sheet=Ukrainian" -o table.csv

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: inputs.upload-artifact
with:
name: table
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@ on:

jobs:
build_and_test_bot:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Download the table
if: inputs.release
run: curl -L "docs.google.com/spreadsheets/d/${{ secrets.SHEET_ID }}/gviz/tq?tqx=out:csv&sheet=Ukrainian" -o table.csv
run: curl -L "docs.google.com/spreadsheets/d/${{ vars.SHEET_ID }}/gviz/tq?tqx=out:csv&sheet=Ukrainian" -o table.csv

- name: Test and build release
if: inputs.release
env:
SHEET_ID: ${{ secrets.SHEET_ID }}
RUST_LOG: info
RUST_LOG: info
run: cargo test --release -- --nocapture && cargo build --release

- name: Test and build debug
if: ${{ !inputs.release }}
env:
SHEET_ID: ${{ secrets.SHEET_ID }}
RUST_LOG: info
RUST_LOG: info
run: cargo test -- --nocapture && cargo build

- name: Move binary
if: inputs.upload-artifact
run: mv target/*/bot target

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: inputs.upload-artifact
with:
name: executable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_flutter_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- run: flutter build apk --release
env:
SHEET_ID: ${{ secrets.SHEET_ID }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: inputs.upload-artifact
with:
name: apk
Expand Down
2 changes: 1 addition & 1 deletion app/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

Expand Down
Loading