Skip to content

Workflows based on this repository will be broken with ubuntu-latest migration to 24.04 #22

@anatawa12

Description

@anatawa12

The workaround for this problem has been implemented NOW! This issue is kept for future final fix.

Workflows based on this repository will be broken with ubuntu-latest migration to 24.04

The Problem

Since this week, github actions workflows (jobs) with ubuntu-latest will use ubuntu-24.04. (some repositories already uses 24.04 and some doesn't for now.)
In ubuntu-24.04 runner images, dotnet 6.0 will not be included in runner image and only dotnet 8. (see actions/runner-images#10636)

However, vrchat-community/package-list-action does not support .NET 8 so workflows based on this repository will be broken.

Affects

There are some real-world cases of this problem like Azukimochi/vpm-repos.
ALL repositories that are based on this repository will be affected.

Workarounds

There are two options.

The first way to workaround this problem is to use ubuntu-22.04, which includes .NET 6 runtime.
However, using older version of ubuntu might cause problem in the future. (at least, we may need to migrate to newer ubuntu).

The second way to workaround this problem is to add step to install .NET 6 with actions/setup-dotnet@v4.

You can add an step like this before building

- uses: actions/setup-dotnet@v4
  with:
    dotnet-version: '6.x'

The way to Fix

We should do two thing.

First, we should add .NET 8 support in vrchat-community/package-list-action.
This will fix the problem for existing repositories.
I'll create issue for this fix soon. => vrchat-community/package-list-action#27

Second, we should add actions/setup-dotnet step to prevent similar problem in the future (about two years later).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions