This commit is contained in:
1 parent
3ff33e40e3
commit
dd165d9301
80 files changed
+2908
-5661
No files matched your search
@@ -25,13 +25,11 @@ jobs:
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: |
|
||||
cd VRWT_Tool/VRC_OSC
|
||||
GO111MODULE=on go test ./...
|
||||
|
||||
- name: Build executables
|
||||
shell: bash
|
||||
run: |
|
||||
cd VRWT_Tool/VRC_OSC
|
||||
mkdir -p dist
|
||||
VERSION="${GITHUB_REF_NAME}"
|
||||
BUILD_TIME="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
||||
@@ -43,7 +41,6 @@ jobs:
|
||||
- name: Package executables
|
||||
shell: bash
|
||||
run: |
|
||||
cd VRWT_Tool/VRC_OSC
|
||||
cp config/config.example.toml dist/config.example.toml
|
||||
cp config/secrets.example.toml dist/secrets.example.toml
|
||||
cp config/guests.example.txt dist/guests.example.txt
|
||||
@@ -73,7 +70,7 @@ jobs:
|
||||
"${api}/repos/${owner_repo}/releases")
|
||||
release_id=$(printf '%s' "${release_json}" | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
|
||||
fi
|
||||
asset_path="VRWT_Tool/VRC_OSC/dist/vrc_osc-windows.zip"
|
||||
asset_path="dist/vrc_osc-windows.zip"
|
||||
curl -fsSL -X POST \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-F "attachment=@${asset_path}" \
|
||||
|
||||
Reference in new issue
Block a user