Skip to content

Test Workflow

Test Workflow #1

Workflow file for this run

name: Test Workflow
on: workflow_dispatch
jobs:
build_linux_arm64:
runs-on: linux-arm64
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.6 # Workaround for not working on 3.22
cache: true
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libssl-dev -y
- run: flutter pub get
- run: flutter build linux --release --target-platform linux-arm64
- name: Create archive
run: tar -czf fluffychat-linux-arm64.tar.gz -C build/linux/arm64/release/bundle/ .
# - name: Upload to release
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.PAGES_DEPLOY_TOKEN }}
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path: fluffychat-linux-x64.tar.gz
# asset_name: fluffychat-linux-x64.tar.gz
# asset_content_type: application/gzip