Clean project layout and fix release workflow
Some checks failed
build-windows-exe / build (push) Failing after 1m13s
Some checks failed
build-windows-exe / build (push) Failing after 1m13s
This commit is contained in:
@@ -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