diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fcfc82a..ba8891c 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,7 +25,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 9.0.x - name: Install Workload run: dotnet workload install wasm-tools - name: Build for Desktop @@ -34,16 +34,16 @@ jobs: if: ${{ github.event.inputs.nuget == 'true' }} run: dotnet nuget push ./packages/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} - name: Build for Browser - run: dotnet publish sizoscopeX.Browser -c Release /p:Version=${{ github.event.inputs.version }} + run: dotnet publish sizoscopeX.Browser -c Release -r browser-x64 /p:Version=${{ github.event.inputs.version }} - name: Fix Permissions run: | - chmod -v -R +rX "./sizoscopeX.Browser/bin/Release/net7.0/browser-wasm/AppBundle/" | while read line; do + chmod -v -R +rX "./sizoscopeX.Browser/bin/Release/net9.0-browser/browser-wasm/publish/" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done - - name: Upload Broswer AppBundle + - name: Upload Browser app uses: actions/upload-pages-artifact@v2 with: - path: './sizoscopeX.Browser/bin/Release/net7.0/browser-wasm/AppBundle' + path: './sizoscopeX.Browser/bin/Release/net9.0-browser/browser-wasm/publish' deploy: needs: build diff --git a/sizoscopeX.sln b/sizoscopeX.sln index 1672b0b..7d88ea4 100644 --- a/sizoscopeX.sln +++ b/sizoscopeX.sln @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ソリューション項目 ProjectSection(SolutionItems) = preProject .gitignore = .gitignore Directory.Packages.props = Directory.Packages.props + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml nuget.config = nuget.config EndProjectSection EndProject