diff --git a/.github/release-note-canonical.md b/.github/release-note-canonical.md new file mode 100644 index 00000000000..54be38dc486 --- /dev/null +++ b/.github/release-note-canonical.md @@ -0,0 +1,17 @@ +## ppc64le and s390x: install the .NET 8 runtime first + +Unlike the other packages, `actions-runner-linux-ppc64le-.tar.gz` and `actions-runner-linux-s390x-.tar.gz` are not self-contained. They need the .NET 8 runtime installed on the machine. Without it, the runner never connects to GitHub. It exits with `You must install .NET to run this application` and keeps restarting. + +On Ubuntu 24.04: + +```bash +sudo apt-get install -y dotnet-runtime-8.0 +``` + +On Ubuntu 26.04, `dotnet-runtime-8.0` is in `ppa:dotnet/backports`: + +```bash +sudo add-apt-repository -y ppa:dotnet/backports +sudo apt-get install -y dotnet-runtime-8.0 +``` + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f8293d56fb..789b7817638 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -212,7 +212,10 @@ jobs: script: | const fs = require('fs'); const runnerVersion = fs.readFileSync('${{ github.workspace }}/src/runnerversion', 'utf8').replace(/\n$/g, '') - var releaseNote = fs.readFileSync('${{ github.workspace }}/releaseNote.md', 'utf8').replace(//g, runnerVersion) + // releaseNote.md is upstream's and is overwritten on every patch sync, + // so notes specific to this fork's builds live under .github/. + const canonicalNote = fs.readFileSync('${{ github.workspace }}/.github/release-note-canonical.md', 'utf8') + var releaseNote = (canonicalNote + fs.readFileSync('${{ github.workspace }}/releaseNote.md', 'utf8')).replace(//g, runnerVersion) releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-x64-sha}}') releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-arm64-sha}}') releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-ppc64le-sha}}')