|
@@ -29,18 +29,18 @@ jobs:
|
|
|
platforms: linux/amd64
|
|
|
push: true
|
|
|
tags: ghcr.io/${{ github.repository }}:testing
|
|
|
- netclient:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - name: Checkout
|
|
|
- uses: actions/checkout@v2
|
|
|
- - name: build client
|
|
|
- run: |
|
|
|
- cd netclient
|
|
|
- go build -ldflags="-X 'main.version=testing'" .
|
|
|
- curl -H 'Authorization: Bearer ${{ NUSAK_MASTERKEY }}' \
|
|
|
- -H 'Content-Type: multipart/form-data' --form upload='./netclient' \
|
|
|
- -X POST https://api.nusak.ca/api/file/netclient
|
|
|
+ netclient:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Checkout
|
|
|
+ uses: actions/checkout@v2
|
|
|
+ - name: build client
|
|
|
+ run: |
|
|
|
+ cd netclient
|
|
|
+ go build -ldflags="-X 'main.version=testing'" .
|
|
|
+ curl -H 'Authorization: Bearer ${{ NUSAK_MASTERKEY }}' \
|
|
|
+ -H 'Content-Type: multipart/form-data' --form upload='./netclient' \
|
|
|
+ -X POST https://api.nusak.ca/api/file/netclient
|
|
|
#deploy:
|
|
|
#runs-on: ubuntu-latest
|
|
|
#steps:
|