This commit is contained in:
恍兮惚兮 2024-04-26 19:24:31 +08:00
parent 0479f53859
commit 23fbbc5159
2 changed files with 7 additions and 7 deletions

View File

@ -14,9 +14,9 @@ jobs:
matrix:
include:
- architecture: x86
fname: LunaTranslator_x86.zip
fname: LunaTranslator_x86
- architecture: x64
fname: LunaTranslator.zip
fname: LunaTranslator
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -44,4 +44,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fname }}
path: build/${{ matrix.fname }}
path: build/${{ matrix.fname }}.zip

View File

@ -16,9 +16,9 @@ jobs:
matrix:
include:
- architecture: x86
fname: LunaTranslator_x86.zip
fname: LunaTranslator_x86
- architecture: x64
fname: LunaTranslator.zip
fname: LunaTranslator
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -46,12 +46,12 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fname }}
path: build/${{ matrix.fname }}
path: build/${{ matrix.fname }}.zip
- name: Release LunaTranslator
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event.inputs.create_release }}
files: build/${{ matrix.fname }}
files: build/${{ matrix.fname }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}