From f13c3b6aa714d25f2c1b29539ae964ce6c67bb4b Mon Sep 17 00:00:00 2001 From: chmanie Date: Mon, 12 Jun 2023 13:21:30 +0200 Subject: [PATCH] Adjust build image tag --- .gitea/workflows/main.yml | 54 ++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 5596f4a..d75b3eb 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -8,39 +8,35 @@ on: jobs: fmt: - runs-on: dind - name: ubuntu / stable / fmt + runs-on: act_gay + name: stable / fmt steps: - uses: actions/checkout@v3 - - name: Install stable - uses: https://github.com/dtolnay/rust-toolchain@stable - with: - components: rustfmt - name: cargo fmt --check run: cargo fmt --check --all - cross: - runs-on: dind - name: ubuntu / stable / cross-${{ matrix.target }} - strategy: - fail-fast: false - matrix: - target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"] - steps: - - uses: actions/checkout@v3 - # - 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 - - uses: actions/release-action@main - with: - files: |- - target/${{ matrix.target }}/release/crabidy-server - api_key: '${{secrets.RELEASE_TOKEN}}' + # cross: + # runs-on: dind + # name: ubuntu / stable / cross-${{ matrix.target }} + # strategy: + # fail-fast: false + # matrix: + # target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"] + # steps: + # - uses: actions/checkout@v3 + # # - 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 + # - uses: actions/release-action@main + # with: + # files: |- + # target/${{ matrix.target }}/release/crabidy-server + # api_key: '${{secrets.RELEASE_TOKEN}}'