Skip to content

chore: 🚚 合并资源文件,调整文章类型枚举 #29

chore: 🚚 合并资源文件,调整文章类型枚举

chore: 🚚 合并资源文件,调整文章类型枚举 #29

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
discussions: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: zip -r ITEM.zip . -x ".github/*"
- name: Build Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@v3
if: startsWith(github.ref, 'refs/tags/')
with:
configuration: ".github/configuration.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body: ${{steps.changelog.outputs.changelog}}
files: ITEM.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}