mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-05 23:16:09 -06:00
Use gobinaries.com to skip Go setup/install step
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -28,16 +28,10 @@ jobs:
|
|||||||
- name: Build Mod
|
- name: Build Mod
|
||||||
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
|
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
|
||||||
|
|
||||||
- name: Setup Go environment
|
|
||||||
uses: actions/setup-go@v5.0.1
|
|
||||||
with:
|
|
||||||
go-version: stable
|
|
||||||
cache-dependency-path: .github/workflows/go.sum
|
|
||||||
|
|
||||||
- name: Get Version
|
- name: Get Version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
go install github.com/sibprogrammer/xq@latest
|
curl -sf https://gobinaries.com/sibprogrammer/xq@latest | sh
|
||||||
VERSION=$(xq ./About/About.xml -x "/ModMetaData/modVersion")
|
VERSION=$(xq ./About/About.xml -x "/ModMetaData/modVersion")
|
||||||
echo "result=$VERSION" >> $GITHUB_OUTPUT
|
echo "result=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user