Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoha000 committed Sep 24, 2023
1 parent 5e419fe commit 32d66a1
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,15 @@ jobs:
run: |
npm i
npm run tauri build
- name: Create Release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ steps.variables.outputs.version }}

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: "marvinpinto/action-automatic-releases@latest"
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: .\src-tauri\target\release\bundle\msi\Launcherg_${{ steps.variables.outputs.version }}_x64_ja-JP.msi.zip
asset_name: Launcherg_${{ steps.variables.outputs.version }}_x64_ja-JP.msi.zip
asset_content_type: application/zip
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ github.ref }}
prerelease: true
title: "Release ${{ steps.variables.outputs.version }}"
files: |
.\src-tauri\target\release\bundle\msi\Launcherg_${{ steps.variables.outputs.version }}_x64_ja-JP.msi.zip
- name: Update .tauri-updater.json
run: |
Expand Down

0 comments on commit 32d66a1

Please sign in to comment.