From df45a0fccdef3b3cb77e6e7b71127bc396034061 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 18 Jan 2023 12:31:09 -0500 Subject: [PATCH] Use LXD `latest/stable` in the `ubuntu-latest` example `ubuntu-latest` being a moving target, we risk asking for LXD to be downgraded (not supported) if we track `5.0/stable`. Avoid the problem by using `latest/stable` instead of the distro's LTS track that comes pre-installed. Signed-off-by: Simon Deziel --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 884cf38..8ec101e 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ and then this action will install/refresh LXD from the specified channel. ## Example usage ```yaml -name: "Install LXD 5.0" +name: "Install latest LXD" on: push jobs: job1: @@ -33,7 +33,7 @@ jobs: - name: Setup LXD uses: canonical/setup-lxd@[version] with: - channel: 5.0/stable # installs LXD 5.0.x + channel: latest/stable # switch from distro's LTS channel to latest/stable - name: Launch container run: | @@ -50,7 +50,7 @@ jobs: - name: Setup LXD uses: canonical/setup-lxd@[version] - # uses pre-installed LXD snap (v4.0.9) + # uses pre-installed LXD snap (22.04 comes with 5.0/stable) - name: Launch container run: | @@ -59,4 +59,4 @@ jobs: ## Maintainers -- [barrettj12](https://github.com/barrettj12) \ No newline at end of file +- [barrettj12](https://github.com/barrettj12)