Skip to content

Commit

Permalink
ci: macos自动检测语言错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeric-X committed Oct 4, 2024
1 parent 2288c47 commit a108e8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mac-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
8.0.100
- name: Install dotnet workload and dependencies
working-directory: ./src/SyncClipboard.Desktop.MacOS
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
# dotnet publish SyncClipboard.Desktop.MacOS/SyncClipboard.Desktop.MacOS.csproj -r osx-x64 -c Release
- name: Build ${{ matrix.cpu }}
run: |
dotnet publish SyncClipboard.Desktop.MacOS/SyncClipboard.Desktop.MacOS.csproj -r osx-${{ matrix.cpu }} -c Release
working-directory: ./src
dotnet publish SyncClipboard.Desktop.MacOS.csproj -r osx-${{ matrix.cpu }} -c Release
working-directory: ./src/SyncClipboard.Desktop.MacOS

- name: Download version
uses: actions/download-artifact@v4
Expand Down
6 changes: 6 additions & 0 deletions src/SyncClipboard.Desktop.MacOS/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"rollForward": "disable"
}
}

0 comments on commit a108e8c

Please sign in to comment.