mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-28 18:21:52 +00:00
Try to publish binary artifacts to GitHub Actions (#556)
* Try to publish binary artifacts to GitHub Actions
This commit is contained in:
parent
45042d07f1
commit
727c4ff8de
2 changed files with 15 additions and 2 deletions
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Go
|
||||
name: Miller-Go
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -30,3 +30,16 @@ jobs:
|
|||
# using `-v`, `-vv`, or `-vvv`. Commit changes to this file and re-push to GitHub
|
||||
# and let the GitHub Actions re-run.
|
||||
run: cd go && go test -v miller/src/... && ./mlr regtest -s 5
|
||||
|
||||
- name: PrepareArtifactNonWindows
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: mkdir -p bin/${{matrix.os}} && cp go/mlr bin/${{matrix.os}}
|
||||
|
||||
- name: PrepareArtifactWindows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: mkdir -p bin/${{matrix.os}} && cp go/mlr.exe bin/${{matrix.os}}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: mlr-${{matrix.os}}
|
||||
path: bin/${{matrix.os}}/*
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ TOP OF LIST:
|
|||
|
||||
* emit * regex * fmtnum * localtime *
|
||||
* --nr-progress-mod * mlr -k *
|
||||
* cli-audits * doc6 * survey * check issues *
|
||||
* gha binaries * cli-audits * doc6 * survey * check issues *
|
||||
|
||||
----------------------------------------------------------------
|
||||
* mlr -k
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue