Skip to content

ci: dl artifact v4 + run bin #2

ci: dl artifact v4 + run bin

ci: dl artifact v4 + run bin #2

name: cross compile dotnet app
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build:
runs-on: macos-14
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x
- name: build dotnet executables
run: make build
- name: size of executables
run: make size
- name: file info
run: make file
- uses: actions/upload-artifact@v4
with:
path: bin/*
test:
defaults:
run:
shell: sh
needs: [build]
strategy:
fail-fast: false
matrix:
os: ["macos-14"]
runs-on: ${{ matrix.os }}
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: list bin
run: ls bin/*
- name: run executable
run: bin/hello_dotnet-osx-arm64/Explore.Cli