Skip to content

Commit 7476ece

Browse files
committed
Fix workflow
1 parent 03ee920 commit 7476ece

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ on:
44
tags:
55
- v*.*.*
66

7-
env:
8-
CARGO_TERM_COLOR: always
9-
# sccache
10-
SCCACHE_GHA_ENABLED: "true"
11-
RUSTC_WRAPPER: "sccache"
12-
137
jobs:
148
create-release:
159
name: create-release
@@ -93,9 +87,6 @@ jobs:
9387
- name: Install Rust stable
9488
uses: dtolnay/rust-toolchain@stable
9589

96-
- name: Run sccache-cache
97-
uses: mozilla-actions/sccache-action@v0.0.10
98-
9990
- name: Install dependencies
10091
run: |
10192
apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler libprotobuf-dev rpm
@@ -137,6 +128,11 @@ jobs:
137128
asset_content_type: application/octet-stream
138129

139130
build-linux:
131+
env:
132+
CARGO_TERM_COLOR: always
133+
# sccache
134+
SCCACHE_GHA_ENABLED: "true"
135+
RUSTC_WRAPPER: "sccache"
140136
needs:
141137
- create-release
142138
outputs:
@@ -171,7 +167,8 @@ jobs:
171167
with:
172168
node-version: 26
173169

174-
- uses: pnpm/action-setup@v6
170+
- name: Install pnpm
171+
uses: pnpm/action-setup@v6
175172
with:
176173
cache: true
177174
version: 11
@@ -190,6 +187,9 @@ jobs:
190187
- name: Install Rust stable
191188
uses: dtolnay/rust-toolchain@stable
192189

190+
- name: Run sccache-cache
191+
uses: mozilla-actions/sccache-action@v0.0.10
192+
193193
- name: Install Linux dependencies
194194
run: |
195195
sudo apt-get update

0 commit comments

Comments
 (0)