Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
benchmark:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- uses: actions/checkout@v5
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Run benchmark
Expand All @@ -40,7 +40,7 @@ jobs:
$modifiedContent = $fileContent -replace "``````", "```````n"
$modifiedContent | Set-Content $fileName
- name: Deploy Markdown Result
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ForceOps.Benchmarks/BenchmarkDotNet.Artifacts/results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install Dotnet
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: "10.0.x"

Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,22 @@ jobs:
target: x86_64-pc-windows-msvc
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Dotnet
uses: actions/setup-dotnet@v5
with:
dotnet-version: "10.0.x"

- name: Get version
id: get_version
uses: KageKirin/get-csproj-version@v1.0.0
with:
file: Directory.Build.props
shell: bash
run: echo "version=$(dotnet msbuild Directory.Build.props -getProperty:Version)" >> "$GITHUB_OUTPUT"

- name: Print Current Version
run: |
echo Current Version: ${{ steps.get_version.outputs.version }}

- name: Install Dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"

- name: Directory structure
run: |
ls
Expand All @@ -57,7 +56,7 @@ jobs:

- name: Create release
if: ${{ github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'chore(release)') }}
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
name: "${{ steps.get_version.outputs.version }}"
Expand Down
Loading