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: matrix:
include: include:
- architecture: x86 - architecture: x86
fname: LunaTranslator_x86.zip fname: LunaTranslator_x86
- architecture: x64 - architecture: x64
fname: LunaTranslator.zip fname: LunaTranslator
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -44,4 +44,4 @@ jobs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.fname }} name: ${{ matrix.fname }}
path: build/${{ matrix.fname }} path: build/${{ matrix.fname }}.zip

View File

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