Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Bayu Satiyo <[email protected]>
  • Loading branch information
kiraio-moe committed Aug 31, 2024
1 parent 31ed4f5 commit 718219f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x', '7.0.x', '8.0.x' ]
dotnet-framework: [ 'net6.0', 'net7.0', 'net8.0' ]
dotnet-version: [ '6.0.x', '8.0.x' ]
dotnet-framework: [ 'net6.0', 'net8.0' ]
dotnet-runtime: [ 'win-x64', 'win-arm64', 'linux-x64', 'linux-arm64', 'osx-x64', 'osx-arm64' ]

steps:
Expand All @@ -42,8 +42,8 @@ jobs:
- name: Publish
run: dotnet publish -c Release --framework ${{ matrix.dotnet-framework }} --runtime ${{ matrix.dotnet-runtime }} --no-self-contained
working-directory: ${{ github.workspace }}
- name: Copy classdata.tpk to every runtime
run: cp classdata.tpk ${{ github.workspace }}/bin/Release/${{ matrix.dotnet-framework }}/${{ matrix.dotnet-runtime }}/publish/
- name: Copy necessary files to every runtime
run: cp classdata.tpk version.txt ${{ github.workspace }}/bin/Release/${{ matrix.dotnet-framework }}/${{ matrix.dotnet-runtime }}/publish/
working-directory: ${{ github.workspace }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 718219f

Please sign in to comment.