Skip to content

Commit

Permalink
Added build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
HadesArchitect authored May 21, 2020
1 parent 045eeac commit 57c89d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 57c89d2

Please sign in to comment.