diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 493d2d1..8af1687 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -27,11 +27,22 @@ jobs: target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"] steps: - uses: actions/checkout@v3 - - name: Install stable - uses: https://github.com/dtolnay/rust-toolchain@stable - - uses: https://github.com/taiki-e/install-action@cross + # - name: Install podman + # run: | + # apt update + # apt-get -y install podman + # - name: Install stable + # uses: https://github.com/dtolnay/rust-toolchain@stable + # - uses: https://github.com/taiki-e/install-action@cross + # - name: cross compile for ${{ matrix.target }} + # run: cross build --target ${{ matrix.target }} --release - name: cross compile for ${{ matrix.target }} - run: cross build --target ${{ matrix.target }} --release + uses: https://github.com/houseabsolute/actions-rust-cross@v0 + with: + command: build + args: --release + target: ${{ matrix.target }} + strip: true - uses: actions/release-action@main with: files: |-