Skip to content

Commit be4d8fa

Browse files
committed
Basic workflow - Update to ubuntu-latest (SkylineCommunications#41)
(cherry picked from commit 2bd7f0b)
1 parent 7820c23 commit be4d8fa

File tree

1 file changed

+12
-2
lines changed
  • working/templates/SharedItems/.github/workflows

1 file changed

+12
-2
lines changed

working/templates/SharedItems/.github/workflows/basic.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
build:
22-
runs-on: ubuntu-22.04 # Mono is not installed on ubuntu-latest
22+
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4
2525

@@ -34,7 +34,17 @@ jobs:
3434
repo_url="https://github.com/${{ github.repository }}/settings/secrets/actions"
3535
echo "Then set a DATAMINER_TOKEN secret in your repository settings: $repo_url"
3636
exit 1
37-
fi
37+
fi
38+
39+
- name: Setup .NET Core
40+
uses: actions/setup-dotnet@v4
41+
with:
42+
dotnet-version: '8.0.x'
43+
44+
- name: Install Mono
45+
run: |
46+
sudo apt update
47+
sudo apt install -y mono-complete
3848
3949
- name: Authenticate with GitHub CLI
4050
run: gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)