From c658aeb8750b6cd79aa4d1dca707f0ad95836cbb Mon Sep 17 00:00:00 2001 From: Josh Dassinger Date: Wed, 30 Oct 2024 09:17:37 -0500 Subject: [PATCH] Update build scripts --- .github/workflows/develop.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index e843fab..1c3d4d3 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-dotnet@v4 - name: Set VERSION variable from tag - run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" | Out-File -FilePath $env:GITHUB_ENV - name: Download References shell: pwsh @@ -26,11 +26,11 @@ jobs: .\Download-References.ps1 - name: Build DLLs - Oxide - run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Oxide /p:Version=$VERSION -f net48 + run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Oxide /p:Version=${{ env.VERSION }} -f net48 working-directory: src/Rust.UIFramework - name: Build DLLs - Carbon - run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Carbon /p:Version=$VERSION -f net48 + run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Carbon /p:Version=${{ env.VERSION }} -f net48 working-directory: src/Rust.UIFramework - name: Move DLLs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b3aa4f..8c54238 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: run: dotnet --version - name: Set VERSION variable from tag - run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $env:GITHUB_ENV + run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" | Out-File -FilePath $env:GITHUB_ENV - name: Download References shell: pwsh @@ -29,11 +29,11 @@ jobs: .\Download-References.ps1 - name: Build DLLs - Oxide - run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Oxide /p:Version=$VERSION -f net48 + run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Oxide /p:Version=${{ env.VERSION }} -f net48 working-directory: src/Rust.UIFramework - name: Build DLLs - Carbon - run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Carbon /p:Version=$VERSION -f net48 + run: dotnet build Rust.UIFramework.csproj -c Release /p:Platform=Carbon /p:Version=${{ env.VERSION }} -f net48 working-directory: src/Rust.UIFramework - name: Move DLLs