mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-05 23:16:09 -06:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fab9e610a7 |
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -28,16 +28,10 @@ jobs:
|
||||
- name: Build Mod
|
||||
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
|
||||
id: get_version
|
||||
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")
|
||||
echo "result=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user