Skip to content

Commit

Permalink
Including fmuproxy.jar in distribution. (#141)
Browse files Browse the repository at this point in the history
* Including fmuproxy.jar in distribution.

* mkdir dist/bin #140

Co-authored-by: Levi Jamt <[email protected]>
  • Loading branch information
Halvor Platou and Levi Jamt authored May 14, 2020
1 parent 297577a commit f8187e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-server-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,18 @@ jobs:
run: |
cp ./cse-server-go.exe dist/bin
cp ./run-windows.cmd ./dist
cp ./run-fmuproxy.cmd ./dist
if: runner.os == 'Windows'
- name: Prepare Linux distribution
run: |
mkdir -p dist/bin
cp ./cse-server-go dist/bin
cp ./run-linux ./dist
cp ./run-fmuproxy ./dist
sh ./set-rpath ./dist/lib
if: runner.os == 'Linux'
- name: Download fmuproxy
run: curl https://github.com/NTNU-IHB/FMU-proxy/releases/download/v0.6.1/fmu-proxy.jar -o dist/bin/fmu-proxy.jar -L
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module cse-server-go

go 1.14

require (
github.com/gobuffalo/buffalo-plugins v1.11.0 // indirect
github.com/gobuffalo/meta v0.0.0-20190120163247-50bbb1fa260d // indirect
Expand Down

0 comments on commit f8187e4

Please sign in to comment.