Skip to content

[cpackget] --concurrent-downloads (default 5) corrupts downloaded *.pdsc files #197 #310

[cpackget] --concurrent-downloads (default 5) corrupts downloaded *.pdsc files #197

[cpackget] --concurrent-downloads (default 5) corrupts downloaded *.pdsc files #197 #310

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
paths:
- .github/workflows/build.yml
- cmd/**/*.go
- makefile
- go.mod
- go.sum
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
goos: [windows, linux, darwin]
arch: [amd64, arm64]
name: "${{ matrix.goos }} | ${{ matrix.arch }}"
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Build
run: |
make OS=${{ matrix.goos }} ARCH=${{ matrix.arch }} build
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: cpackget-${{ matrix.goos }}-${{ matrix.arch }}
path: build/cpackget*
retention-days: 7