mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
37 lines
878 B
YAML
37 lines
878 B
YAML
name: Create release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build-workflow:
|
|
uses: ./.github/workflows/build-jobs.yaml
|
|
create-release:
|
|
runs-on: ubuntu-latest
|
|
needs: build-workflow
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Generate a changelog
|
|
uses: orhun/git-cliff-action@v3
|
|
with:
|
|
config: ./configs/cliff.toml
|
|
args: --verbose
|
|
- name: Download artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: "./"
|
|
- name: Create release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "hactoolnet-*/hactoolnet-*"
|
|
prerelease: false
|
|
name: "hactoolnet ${{ github.ref_name }}"
|
|
bodyFile: "git-cliff/CHANGELOG.md"
|