mirror of
https://github.com/supermariofps/hatsune-miku-windows-linux-cursors.git
synced 2024-11-23 10:21:53 +01:00
add release action
This commit is contained in:
parent
52ab79c7ca
commit
5d965e8ca2
1 changed files with 26 additions and 0 deletions
26
.github/workflows/release.yml
vendored
Normal file
26
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Generate release
|
||||
run: |
|
||||
git archive --format=zip --prefix=miku-cursor-linux/ HEAD:miku-cursor-linux/ -o miku-cursor-linux.zip
|
||||
git archive --format=zip --prefix=miku-cursor-windows/ HEAD:miku-cursor-windows/ -o miku-cursor-windows.zip
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
miku-cursor-linux.zip
|
||||
miku-cursor-windows.zip
|
Loading…
Reference in a new issue