Skip to content

Update build-release.yml #11

Update build-release.yml

Update build-release.yml #11

Workflow file for this run

name: Test builds releases
on:
pull_request:
push:
jobs:
build-linux:
name: Build x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release
- name: Archive Release
uses: vimtor/[email protected]
with:
files: target/release/wallet
dest: target/release/wallet-daemon_${{github.ref_name}}_x86_64-unknown-linux-gnu.zip
build:
name: Build ${{ matrix.target }}
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@v4
- uses: rust-build/[email protected]
with:
RUSTTARGET: ${{ matrix.target }}
UPLOAD_MODE: "none"
TOOLCHAIN_VERSION: "1.82"
SRC_DIR: src
ARCHIVE_TYPES: ${{ matrix.archive }}