diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 96aff6f1..c459760b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,8 +19,9 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Get Short SHA - uses: hudsonm62/short-sha@v1 + - name: Get commit short SHA + shell: bash + run: echo "GIT_SHA1=$(echo $GITHUB_SHA | cut -c1-8)" >> $GITHUB_ENV - name: Setup MSBuild v1.1 uses: microsoft/setup-msbuild@v1.1 @@ -50,8 +51,8 @@ jobs: append_body: false draft: false prerelease: true - name: "Latest build ${{ steps.short-sha.outputs.sha }}" # SHA variable is ${{ steps.short-sha.outputs.sha }} - body: "This is the latest build of FriishProduce as of ${{ env.DATE }}, autogenerated from the most recent commit ${{ steps.short-sha.outputs.sha }}.\n\n + name: "Latest build ${{ env.GIT_SHA1 }}" # SHA variable is ${{ env.GIT_SHA1 }} + body: "This is the latest build of FriishProduce as of ${{ env.DATE }}, autogenerated from the most recent commit ${{ env.GIT_SHA1 }}.\n\n **How to update manually:** \n * Extract the files to your FriishProduce directory, overwriting the older versions, and delete any leftover files or folders that are no longer needed. \n * It is recommended to also clear your previous settings by deleting the FriishProduce folder in your user's local app data directory.\n\n