From 04b01d23d9df93c1edd8d492098f63af81577288 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Wed, 25 Sep 2024 13:46:39 +0200 Subject: [PATCH] move from self-hosted to ubuntu-latest since we made repo public --- .github/workflows/CI.yml | 11 ++++------- .github/workflows/CompatHelper.yml | 2 +- .github/workflows/Documentation.yml | 9 +++------ .github/workflows/TagBot.yml | 2 +- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5afdb75d..8feb533b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,14 +13,14 @@ env: jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - runs-on: self-hosted + runs-on: ubuntu-latest strategy: fail-fast: false matrix: version: - '1' os: - - self-hosted + - ubuntu-latest arch: - x64 steps: @@ -31,14 +31,11 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: webfactory/ssh-agent@v0.8.0 - with: - ssh-private-key: ${{ secrets.JULIASIM_REGISTRY_SSH_KEY }} - uses: PumasAI/add-private-registry@main with: juliahub_token_encoded: ${{ secrets.JULIAHUB_TOKEN_ENCODED }} - private_registry_name: JuliaSimRegistry - private_registry_uuid: 309a7822-a73e-4490-9504-7d1983f27685 + private_registry_name: JuliaHubRegistry + private_registry_uuid: de52bcdf-fcb2-40cf-a397-3d64b64f4d9c - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 1c45895e..27612126 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: CompatHelper: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 32bc4224..e6ac2ab1 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -17,20 +17,17 @@ jobs: permissions: contents: write statuses: write - runs-on: self-hosted + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.3.0 - uses: julia-actions/setup-julia@latest with: version: '1' - - uses: webfactory/ssh-agent@v0.8.0 - with: - ssh-private-key: ${{ secrets.JULIASIM_REGISTRY_SSH_KEY }} - uses: PumasAI/add-private-registry@main with: juliahub_token_encoded: ${{ secrets.JULIAHUB_TOKEN_ENCODED }} - private_registry_name: JuliaSimRegistry - private_registry_uuid: 309a7822-a73e-4490-9504-7d1983f27685 + private_registry_name: JuliaHubRegistry + private_registry_uuid: de52bcdf-fcb2-40cf-a397-3d64b64f4d9c - name: Install dependencies run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; Pkg.setprotocol!(; domain = "github.com", protocol = "ssh"); diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 84f8b27f..ac0cf450 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -12,7 +12,7 @@ jobs: github.actor == 'ChrisRackauckas' && startsWith(github.event.comment.body, 'Triggering TagBot') ) - runs-on: self-hosted + runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 with: