Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Apr 30, 2024
1 parent 611dcca commit e2a1fe2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
SystemLinqAsyncVersion: ${{matrix.systemLinqAsync}}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
name: Install Current .NET SDK
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: 'Install .NET SDK 3.1'
with:
dotnet-version: '3.1.x'
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: 'Install .NET SDK 5.0'
with:
dotnet-version: '5.0.x'
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: 'Install .NET SDK 7.0'
with:
dotnet-version: '7.0.x'
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: 'Install .NET SDK 6.0'
with:
dotnet-version: '6.0.x'
Expand All @@ -51,8 +51,8 @@ jobs:
name: Trimming and AOT Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
name: Install Current .NET SDK
- name: Run trimming test
run: dotnet publish -c Release Funcky.TrimmingTest -r linux-x64 --self-contained /p:TreatWarningsAsErrors=true
Expand All @@ -63,12 +63,12 @@ jobs:
name: Generate NuGet Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
name: Install Current .NET SDK
- name: Generate NuGet Packages
run: dotnet pack --output nupkg
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() && github.ref == 'refs/heads/main'
with:
name: nupkg
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
name: Install Current .NET SDK
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.2'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: yarn install
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Build Website and Documentation
run: dotnet fsi Website/build.fsx
- name: Upload GitHub Pages Artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

deploy_pages:
needs: build
Expand All @@ -50,4 +50,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
name: Install Current .NET SDK
- name: Pack Packages
run: dotnet pack Funcky/Funcky.csproj --output nupkg --version-suffix "nightly.$(git rev-parse --short "${{github.sha}}")"
Expand Down

0 comments on commit e2a1fe2

Please sign in to comment.