Skip to content

Commit

Permalink
ci: Fix CI
Browse files Browse the repository at this point in the history
- Set up required dependencies before building.
- Update some action versions.
  • Loading branch information
trungnt2910 committed Jul 21, 2023
1 parent 5328870 commit 8146b5b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
submodules: recursive

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.10
uses: gittools/actions/gitversion/setup@v0.10.2
with:
versionSpec: '5.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.10
uses: gittools/actions/gitversion/execute@v0.10.2

- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
uses: NuGet/setup-nuget@v1.2.0

- name: Setup .NET 8 SDK
uses: actions/setup-dotnet@v3
Expand All @@ -50,6 +50,9 @@ jobs:
- name: Restore tools
run: dotnet tool restore

- name: Install build dependencies
run: sudo apt install -y git cmake ninja-build

- name: Build .NET rootfs
run: |
git clone --depth=1 https://github.com/dotnet/arcade
Expand Down

0 comments on commit 8146b5b

Please sign in to comment.