mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-01-27 21:19:40 +05:00
fix workflow (again)
This commit is contained in:
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@@ -74,16 +74,11 @@ jobs:
|
||||
- name: Build GUI
|
||||
run: dotnet publish -c Release --no-self-contained --no-restore -o ./win-x64 -r win-x64 ./Il2CppInspector.Redux.GUI/Il2CppInspector.Redux.GUI.csproj
|
||||
|
||||
- name: Zip artifacts
|
||||
shell: pwsh
|
||||
run: |
|
||||
Compress-Archive -Path ./win-x64/* -DestinationPath ./win-x64.zip
|
||||
|
||||
- name: Upload GUI Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Il2CppInspectorRedux.GUI
|
||||
path: ./win-x64.zip
|
||||
path: ./win-x64
|
||||
|
||||
build-redux-cli:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -122,16 +117,11 @@ jobs:
|
||||
- name: Build & Publish
|
||||
run: dotnet publish -c Release --no-self-contained --no-restore -o ./${{ matrix.rid }} -r ${{ matrix.rid }} ./Il2CppInspector.Redux.CLI/Il2CppInspector.Redux.CLI.csproj
|
||||
|
||||
- name: Zip artifacts
|
||||
shell: pwsh
|
||||
run: |
|
||||
Compress-Archive -Path ./${{ matrix.rid }}/* -DestinationPath ./${{ matrix.rid }}.zip
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Il2CppInspectorRedux.CLI-${{ matrix.rid }}
|
||||
path: ./${{ matrix.rid }}.zip
|
||||
path: ./${{ matrix.rid }}
|
||||
|
||||
build-old-gui:
|
||||
runs-on: windows-latest
|
||||
@@ -164,16 +154,11 @@ jobs:
|
||||
- name: Build GUI
|
||||
run: dotnet publish -c Release --no-self-contained --no-restore -o ./win-x64 -r win-x64 ./Il2CppInspector.GUI/Il2CppInspector.GUI.csproj
|
||||
|
||||
- name: Zip artifacts
|
||||
shell: pwsh
|
||||
run: |
|
||||
Compress-Archive -Path ./win-x64/* -DestinationPath ./win-x64.zip
|
||||
|
||||
- name: Upload GUI artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Il2CppInspectorRedux.Legacy.GUI
|
||||
path: ./win-x64.zip
|
||||
path: ./win-x64
|
||||
|
||||
build-old-cli:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -210,13 +195,8 @@ jobs:
|
||||
- name: Build & Publish
|
||||
run: dotnet publish -c Release --no-self-contained --no-restore -o ./${{ matrix.rid }} -r ${{ matrix.rid }} ./Il2CppInspector.CLI/Il2CppInspector.CLI.csproj
|
||||
|
||||
- name: Zip artifacts
|
||||
shell: pwsh
|
||||
run: |
|
||||
Compress-Archive -Path ./${{ matrix.rid }}/* -DestinationPath ./${{ matrix.rid }}.zip
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Il2CppInspectorRedux.Legacy.CLI-${{ matrix.rid }}
|
||||
path: ./${{ matrix.rid }}.zip
|
||||
path: ./${{ matrix.rid }}
|
||||
|
||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -17,8 +17,16 @@ jobs:
|
||||
uses: actions/download-artifact@v7
|
||||
with:
|
||||
path: ./artifacts/
|
||||
- name: Create artifact ZIPs
|
||||
shell: pwsh
|
||||
working-directory: ./artifacts
|
||||
run: 'Get-ChildItem -Path . -Directory | ForEach-Object { Compress-Archive -Path $_.Name -DestinationPath "$($_.Name).zip" }'
|
||||
- name: Delete unzipped artifact folders
|
||||
shell: pwsh
|
||||
working-directory: ./artifacts
|
||||
run: 'Get-ChildItem -Path . -Directory | ForEach-Object { Remove-Item $_.Name -Recurse }'
|
||||
- name: Make release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2.4.2
|
||||
with:
|
||||
files: ./artifacts/**/*
|
||||
name: Il2CppInspectorRedux ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user