Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Actions #791

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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