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

Fix Workflow #1590

Merged
merged 1 commit into from
May 21, 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
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@master

uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@master
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
include-prerelease: true

- name: Build
working-directory: ./build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bump-up-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@master
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@master
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
include-prerelease: true

- name: Publish
working-directory: ./build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
steps:

- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}


- name: Setup .NET Core SDK
uses: actions/setup-dotnet@master
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
include-prerelease: true

# 代码文件编码规范机器人,详细请看 [dotnet 在 GitHub 的 Action 上部署自动代码编码规范机器人](https://blog.lindexi.com/post/dotnet-%E5%9C%A8-GitHub-%E7%9A%84-Action-%E4%B8%8A%E9%83%A8%E7%BD%B2%E8%87%AA%E5%8A%A8%E4%BB%A3%E7%A0%81%E7%BC%96%E7%A0%81%E8%A7%84%E8%8C%83%E6%9C%BA%E5%99%A8%E4%BA%BA.html)
- name: Install dotnetCampus.EncodingNormalior
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/push-to-myget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ jobs:
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@master
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
include-prerelease: true

- name: setup nuget.exe
uses: NuGet/[email protected]
Expand Down