Skip to content

Commit

Permalink
modernized github CI scripts & fixed build dotnet project
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldsteinlechner committed Oct 21, 2024
1 parent 031bc5a commit 6ff0c3e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/checkout@v2
- name: Yarn Install
working-directory: aardium
run: yarn install
run: yarn install
- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
global-json-file: global.json
- name: Build
run: bash ./build.sh
6 changes: 1 addition & 5 deletions .github/workflows/testrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
- name: Install Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
- name: Install Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.100'
dotnet-version: '8.0.100'
- name: Checkout
uses: actions/checkout@v2
- name: Yarn Install
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Build
run: .\build.cmd
2 changes: 1 addition & 1 deletion Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Include="paket.dependencies" />
Expand Down

0 comments on commit 6ff0c3e

Please sign in to comment.