diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abca48b..19d2eea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,14 @@ jobs: steps: - name: Checkout the repository uses: actions/checkout@master - - name: Generate the artifacts - uses: skx/github-action-build@master + - name: npm install + run: /usr/bin/docker run --rm -v ${PWD}:/opt/gcds -w /opt/gcds node:11 npm install + - name: webpack + run: /usr/bin/docker run --rm -v ${PWD}:/opt/gcds -w /opt/gcds node:11 node node_modules/webpack/bin/webpack.js + - name: dep ensure + run: /usr/bin/docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp instrumentisto/dep ensure + - name: go build + run: /usr/bin/docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp golang go build -i -o ./dist/cassandra-plugin_linux_amd64 ./backend - name: Upload the artifacts uses: skx/github-action-publish-binaries@master env: