Use explicit cd in Gitea workflow
Some checks failed
build-windows-exe / build (push) Failing after 30s

This commit is contained in:
every_holiday
2026-06-24 00:55:26 +09:00
parent 1975bf6e08
commit e3f497def4

View File

@@ -21,23 +21,23 @@ jobs:
go version go version
- name: Test - name: Test
working-directory: VRWT_Tool/VRC_OSC
shell: bash shell: bash
run: | run: |
cd VRWT_Tool/VRC_OSC
go test ./... go test ./...
- name: Build executables - name: Build executables
working-directory: VRWT_Tool/VRC_OSC
shell: bash shell: bash
run: | run: |
cd VRWT_Tool/VRC_OSC
mkdir -p dist mkdir -p dist
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o dist/vrc_osc.exe ./cmd/vrc_osc GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o dist/vrc_osc.exe ./cmd/vrc_osc
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o dist/vrwt_tool.exe ./cmd/vrwt_tool GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o dist/vrwt_tool.exe ./cmd/vrwt_tool
- name: Package executables - name: Package executables
working-directory: VRWT_Tool/VRC_OSC
shell: bash shell: bash
run: | run: |
cd VRWT_Tool/VRC_OSC
cp config/config.example.toml dist/config.example.toml cp config/config.example.toml dist/config.example.toml
cp config/secrets.example.toml dist/secrets.example.toml cp config/secrets.example.toml dist/secrets.example.toml
cp config/guests.example.txt dist/guests.example.txt cp config/guests.example.txt dist/guests.example.txt