Skip to content

Release

Release #28

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
loadversion:
runs-on: windows-latest
outputs:
version: ${{ steps.loadversion.outputs.version }}
steps:
- uses: actions/checkout@v4
- id: loadversion
run: python py/build.py loadversion | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
buildluna:
uses: ./.github/workflows/buildluna.yml
release:
runs-on: windows-latest
needs: [buildluna,loadversion]
steps:
- uses: actions/download-artifact@v4
with:
path: build
- uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.loadversion.outputs.version }}
files: |
py/build/LunaTranslator_x86.zip
py/build/LunaTranslator.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}