Skip to content

Update codecov/codecov-action action to v4 #369

Update codecov/codecov-action action to v4

Update codecov/codecov-action action to v4 #369

Workflow file for this run

on: [push]
name: 'Build: Windows (x86_64)'
jobs:
windows_x86-64:
name: Windows (x86_64)
runs-on: windows-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-gnu
target: x86_64-pc-windows-gnu
default: true
profile: minimal
- name: Build larz
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features --target x86_64-pc-windows-gnu
- name: Prepare larz for upload
run: |
cd ./target/x86_64-pc-windows-gnu/release/
tar -czvf x86_64-larz.win32.zip `
larz.exe `
larz.dll `
liblarz.a `
liblarz.dll.a
- name: Upload larz build artifacts to GitHub
uses: actions/upload-artifact@v3
with:
name: x86_64-larz.win32
path: ./target/x86_64-pc-windows-gnu/release/x86_64-larz.win32.zip
if-no-files-found: error