diff --git a/.github/workflows/build-nym-validator-rewarder.yml b/.github/workflows/build-nym-validator-rewarder.yml index 7e9c0ae..12c0f2e 100644 --- a/.github/workflows/build-nym-validator-rewarder.yml +++ b/.github/workflows/build-nym-validator-rewarder.yml @@ -11,37 +11,35 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-22.04-16-core] - runs-on: ${{ matrix.platform }} - + include: + - os: arc-ubuntu-22.04 + target: x86_64-unknown-linux-gnu + runs-on: ${{ matrix.os }} + env: + CARGO_TERM_COLOR: always + RUSTUP_PERMIT_COPY_RENAME: 1 + steps: - - uses: actions/checkout@v3 - - - name: Install Dependencies (Linux) - run: sudo apt-get update && sudo apt-get -y install ripgrep libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools - continue-on-error: true - - name: Check out repository code uses: actions/checkout@v4 with: repository: nymtech/nym - ref: develop + ref: tmp/precommit-store-fix + + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install ripgrep libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools + continue-on-error: true - name: Install Rust stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + uses: dtolnay/rust-toolchain@stable - name: Build all binaries - uses: actions-rs/cargo@v1 - with: - command: build - args: --bin nym-validator-rewarder --release + run: cargo build --bin nym-validator-rewarder --release - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: my-artifact + name: nym-validator-rewarder-artifact path: | target/release/nym-validator-rewarder - retention-days: 30 + retention-days: 30