Files
Il2CppInspectorRedux/.github/workflows/release.yml
2025-12-15 09:40:53 +01:00

33 lines
1.0 KiB
YAML

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-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.4.2
with:
files: ./artifacts/**/*
name: Il2CppInspectorRedux ${{ github.ref_name }}
generate_release_notes: false