Skip to content

Commit

Permalink
update publish
Browse files Browse the repository at this point in the history
minor

update actions

update cake-actions
  • Loading branch information
tl-Roberto-Mancinelli committed Nov 19, 2024
1 parent 45e7278 commit 0f4fdd8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 26 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
dotnet-quality: 'ga'
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-quality: 'ga'
- name: Restore tools
run: dotnet tool restore
- name: Run the build script
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@v2
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
26 changes: 9 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,23 @@ on:
default: 'false'
jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 11.0.x
dotnet-version: 9.0.x
dotnet-quality: 'ga'
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 2.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.x.x
dotnet-quality: 'ga'
- name: Restore tools
run: dotnet tool restore
- name: Run the build script
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@v2
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down
3 changes: 1 addition & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Teardown(ctx =>
Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsPath);
CleanDirectories(artifactsPath);
});

Task("SonarBegin")
Expand Down Expand Up @@ -122,7 +122,6 @@ Task("Test")
}
});


Task("Pack")
.Does(() =>
{
Expand Down
1 change: 0 additions & 1 deletion src/TrueLayer/TrueLayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<PackageReference Include="OneOf" Version="3.0.271" />
<PackageReference Include="TrueLayer.Signing" Version="0.1.15" />
<PackageReference Update="MinVer" Version="6.0.0" />
<PackageReference Remove="SecurityCodeScan.VS2019" />
</ItemGroup>
<ItemGroup>
<None Include="..\shared\icon.png" Pack="true" PackagePath="\"/>
Expand Down

0 comments on commit 0f4fdd8

Please sign in to comment.