C
C#4mo ago
Avaray

How to prevent GitHub from building executables for all platforms?

I'm trying to specify linux-x64 as the only platform (at least for now). But with no luck. GitHub Actions are always launching six builds (linux, mac, windows, x64 and x86). I think I tried everything. Currently I don't even have dontnet build or dotnet publish in my Workflow. Help me guys, this is madness xD https://github.com/Avaray/metadata-extractor-cli
GitHub
GitHub - Avaray/metadata-extractor-cli: CLI for quick image metadat...
CLI for quick image metadata extraction. . Contribute to Avaray/metadata-extractor-cli development by creating an account on GitHub.
6 Replies
Jimmacle
Jimmacle4mo ago
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64, x86]
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64, x86]
viceroypenguin
viceroypenguin4mo ago
if you only want it to run on linux, then only specify it to run on linux.
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64, x86]
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64, x86]
you're telling it to run on linux, windows, and macos in your workflows.yml file
Jimmacle
Jimmacle4mo ago
i'm guessing you don't want this
viceroypenguin
viceroypenguin4mo ago
jinx
Jimmacle
Jimmacle4mo ago
yeah, you're specifically telling it to run your pipeline on 6 different types of runners (3 OSes * 2 architectures) if you just want ubuntu x64 just have that
Avaray
AvarayOP4mo ago
No way I missed that part 😂 Thank you so much @Jimmacle @viceroypenguin | 🦋🐧
Want results from more Discord servers?
Add your server