From a6d454a7a3165912dd60fbda4df3b0904eedd7be Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Fri, 21 Jun 2024 12:29:43 +0200 Subject: [PATCH 1/2] Use Ubuntu 20.04 in trusted publishing workflow The release workflow ran on ubuntu-22.04 with Ruby 3.3.3 and failed, we haven't tested that combo yet. Hopefully this works as we do test on ubuntu-20.04 and Ruby 3.3. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c848922..ad17fdff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: if: github.repository == 'sporkmonger/addressable' - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: id-token: write # for trusted publishing steps: From 23fb5f65a935d75ef62bc36b0fa674130ae0eca9 Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Fri, 21 Jun 2024 12:33:46 +0200 Subject: [PATCH 2/2] Release workflow needs libidn --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad17fdff..32ac5312 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: if: github.repository == 'sporkmonger/addressable' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: id-token: write # for trusted publishing steps: @@ -16,6 +16,10 @@ jobs: - name: Set VERSION from git tag run: echo "VERSION=$(echo ${{ github.ref }} | cut -d - -f 2)" >> "$GITHUB_ENV" + - name: Install libidn + if: startsWith(matrix.os, 'ubuntu') + run: sudo apt-get install libidn11-dev + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1