Skip to content

Commit

Permalink
ci: TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Dec 21, 2023
1 parent 515f388 commit 8478a59
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,22 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: 🦀 - Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
# - name: 🦀 - Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{ matrix.rust }}
# target: ${{ matrix.target }}
# override: true

# - name: 🌱 - Install dependencies
# run: cargo install cross --git https://github.com/cross-rs/cross

- name: 🌱 - Install dependencies
run: cargo install cross --git https://github.com/cross-rs/cross
# - name: 🔨 - Build
# run: >
# cross build --release --target ${{ matrix.target }} && \
# mv target/**/release/rusty_controller server-${{ matrix.build }}

- name: 🔨 - Build
run: >
cross build --release --target ${{ matrix.target }} && \
mv target/**/release/rusty_controller server-${{ matrix.build }}
- run: echo "hehe" > server/server-${{ matrix.build }}

- name: 📦 - Copy artifact
uses: actions/upload-artifact@v4
Expand All @@ -65,17 +67,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with:
channel: 'stable'
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'

# - name: 🌱 - Get dependencies
# run: flutter pub get

- name: 🌱 - Get dependencies
run: flutter pub get
# - name: 🔨 - Build APK
# run: flutter build apk

- name: 🔨 - Build APK
run: flutter build apk
# - run: mv build/app/outputs/flutter-apk/app-release.apk ../app.apk

- run: mv build/app/outputs/flutter-apk/app-release.apk ../app.apk
- run: echo "aaa" > app.apk

- name: 📦 - Copy artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 8478a59

Please sign in to comment.