mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-03-22 00:18:18 +05:00
fix build.yml errors and add release workflow
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -1,10 +1,13 @@
|
||||
name: Il2CppInspectorRedux Build
|
||||
|
||||
on: [push, workflow_dispatch]
|
||||
on: [push, workflow_dispatch, workflow_call]
|
||||
|
||||
jobs:
|
||||
build-redux-gui: # this already includes stuff only relevant for linux/macos for when the gui is released on those platforms
|
||||
runs-on: windows-latest
|
||||
runs-on: ${{ matrix.platform }}}
|
||||
strategy:
|
||||
matrix:
|
||||
platform: ['windows-latest']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -156,7 +159,7 @@ jobs:
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet-version }}
|
||||
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
path: ~/.nuget/packages
|
||||
key: ${{ runner.os }}-nuget-cli-${{ matrix.rid }}-${{ hashFiles('**/packages.lock.json') }}
|
||||
|
||||
25
.github/workflows/release.yml
vendored
Normal file
25
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Il2CppInspectorRedux Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build_artifacts:
|
||||
name: Build artifacts
|
||||
uses: ./.github/workflows/build.yml
|
||||
make_release:
|
||||
name: Create release
|
||||
needs: build_artifacts
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifacts@v7
|
||||
with:
|
||||
path: ./artifacts/
|
||||
- name: Make release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: ./artifacts/**/*
|
||||
name: Il2CppInspectorRedux ${{ github.ref_name }}
|
||||
generate_release_notes: false
|
||||
Reference in New Issue
Block a user