Skip to content

Commit

Permalink
测试github打包
Browse files Browse the repository at this point in the history
  • Loading branch information
Mujio-killer committed Dec 17, 2023
1 parent b374136 commit 8e5155a
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,32 @@
# 可选,将显示在 GitHub 存储库的“操作”选项卡中的工作流名称
name: Release CI

# 指定此工作流的触发器
on:
workflow_dispatch:

# 需要运行的作业组合
jobs:
# 任务:创建 release 版本
create-release:
runs-on: ubuntu-latest
outputs:
RELEASE_UPLOAD_ID: ${{ steps.create_release.outputs.id }}
RELEASE_UPLOAD_ID: ${{ steps.create-release.outputs.id }}

steps:
- uses: actions/checkout@v2
# 查询版本号(tag)
- name: Checkout code
uses: actions/checkout@v2

- name: Query version number
id: get_version
shell: bash
run: |
echo "using version tag ${GITHUB_REF:10}"
echo ::set-output name=version::"${GITHUB_REF:10}"
echo ::set-output name=Version::"${GITHUB_REF:10}"
# 根据查询到的版本号创建 release
- name: Create Release
id: create_release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: '${{ steps.get_version.outputs.VERSION }}'
release_name: 'app ${{ steps.get_version.outputs.VERSION }}'
tag_name: '${{ steps.get_version.outputs.Version }}'
release_name: 'app ${{ steps.get_version.outputs.Version }}'
body: 'See the assets to download this version and install.'

# 编译 Tauri
Expand Down

0 comments on commit 8e5155a

Please sign in to comment.