diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 603a5c132..65f70ccfa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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}}/* diff --git a/go/todo.txt b/go/todo.txt index e6ab60d95..9b2ee74b1 100644 --- a/go/todo.txt +++ b/go/todo.txt @@ -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