Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Nov 29, 2024
1 parent ad3a4a1 commit 07f0b0a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,22 @@ jobs:
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: pnpm install # change this to npm or pnpm depending on which one you use.

# Step 3: 读取 Note.md 的内容
- name: Read Note.md content
id: read-note
run: |
content=$(cat Note.md)
echo "note_body<<EOF" >> $GITHUB_ENV
echo "$content" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
releaseName: 'PakePlus v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version.
releaseBody: 'This is a workflow to help you automate the publishing of your PakePlus project to GitHub Packages.'
body: ${{ env.note_body }}
releaseDraft: false
prerelease: false
publish: true
Expand Down
17 changes: 17 additions & 0 deletions Note.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## 我应该下载哪个版本?

### MacOS

- MacOS intel 芯片: x64.dmg
- MacOS apple M 芯片: aarch64.dmg

### Linux

- Linux 64 位: amd64.deb/amd64.rpm
- Linux arm64 architecture: arm64.deb/aarch64.rpm
- Linux armv7 架构: armhf.deb/armhfp.rpm

### Windows

- 64 位: x64-setup.exe
- arm64 架构: arm64-setup.exe

0 comments on commit 07f0b0a

Please sign in to comment.