mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-01-26 12:39:42 +05:00
33 lines
1.0 KiB
YAML
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 |