diff --git a/.github/workflows/ci-server-go.yml b/.github/workflows/ci-server-go.yml index 586cf9c..b3141b0 100644 --- a/.github/workflows/ci-server-go.yml +++ b/.github/workflows/ci-server-go.yml @@ -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: diff --git a/go.mod b/go.mod index 6efc27b..b75a7cf 100644 --- a/go.mod +++ b/go.mod @@ -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