From 1dea23a4d715298ce5dc53f232da090e808ce2e3 Mon Sep 17 00:00:00 2001 From: sunnnner Date: Thu, 23 May 2024 15:04:04 +0800 Subject: [PATCH] release 1.1.4 #1 --- {public => .github/workflows}/main.yml | 2 +- .github/workflows/{release.yml => test.yml} | 11 ++++++----- src-tauri/tauri.conf.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) rename {public => .github/workflows}/main.yml (97%) rename .github/workflows/{release.yml => test.yml} (91%) diff --git a/public/main.yml b/.github/workflows/main.yml similarity index 97% rename from public/main.yml rename to .github/workflows/main.yml index c266390..49573b1 100644 --- a/public/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: with: tag_name: '${{ steps.get_version.outputs.VERSION }}' release_name: 'Wallpapers ${{ steps.get_version.outputs.VERSION }}' - body: 'Wallpapers图片浏览器' + body: 'Release ${{ steps.get_version.outputs.VERSION }}' # 编译 Tauri build-tauri: diff --git a/.github/workflows/release.yml b/.github/workflows/test.yml similarity index 91% rename from .github/workflows/release.yml rename to .github/workflows/test.yml index b1aaa1e..81bc778 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,10 @@ on: - 'v*' workflow_dispatch: +permissions: write-all + jobs: release: - permissions: - contents: write strategy: fail-fast: false matrix: @@ -29,6 +29,8 @@ jobs: - name: Rust setup uses: dtolnay/rust-toolchain@1.77.0 + with: + targets: aarch64-apple-darwin - name: Add Rust target run: rustup target add ${{ matrix.target }} @@ -41,12 +43,12 @@ jobs: - name: Install Node uses: actions/setup-node@v4 with: - node-version: 16.14.2 + node-version: "20" - name: Install pnpm uses: pnpm/action-setup@v3 with: - version: 8.6.1 + version: 9 run_install: false - name: Pnpm install @@ -68,4 +70,3 @@ jobs: releaseBody: 'fix bugs and add new features' releaseDraft: false prerelease: false - releaseId: ${{ needs.create-release.outputs.RELEASE_UPLOAD_ID }} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 0668b52..c5c9fb9 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "Wallpapers", - "version": "1.1.3" + "version": "1.1.4" }, "tauri": { "allowlist": {