Skip to content

Commit 2fb2a71

Browse files
authored
Update desktop.yml
1 parent 6eb50cb commit 2fb2a71

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

.github/workflows/desktop.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
uses: actions-rs/toolchain@v1
3232
with:
3333
toolchain: stable
34+
35+
- uses: Swatinem/rust-cache@v1
36+
3437
- name: install webkit2gtk (ubuntu only)
3538
if: matrix.platform == 'ubuntu-latest'
3639
run: |
@@ -52,42 +55,3 @@ jobs:
5255
releaseBody: ${{ github.event.issue.body }}
5356
releaseDraft: false
5457
prerelease: false
55-
56-
publish-32:
57-
if: github.event.label.name == 'desktop-release'
58-
runs-on: windows-latest
59-
env:
60-
CI: false
61-
steps:
62-
- uses: actions/checkout@v3
63-
- name: setup node
64-
uses: actions/setup-node@v3
65-
with:
66-
node-version: 12
67-
cache: npm
68-
69-
- name: git http
70-
run: |
71-
git config --global url."https://github.com/".insteadOf [email protected]:
72-
git config --global url."https://".insteadOf git://
73-
74-
- name: install Rust i686-pc-windows-msvc
75-
uses: actions-rs/toolchain@v1
76-
with:
77-
toolchain: stable-i686-pc-windows-msvc
78-
79-
- name: CI
80-
run: |
81-
npm ci
82-
83-
- name: install app dependencies and build it
84-
run: npm run build
85-
- uses: tauri-apps/tauri-action@v0
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-
with:
89-
tagName: __VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
90-
releaseName: "androidInReact v__VERSION__"
91-
releaseBody: ${{ github.event.issue.body }}
92-
releaseDraft: false
93-

0 commit comments

Comments
 (0)