Skip to content

Commit 7112f0b

Browse files
committed
chore: update keys and workspaces
1 parent ab3ad7d commit 7112f0b

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ jobs:
6161
with:
6262
toolchain: stable
6363
target: ${{ matrix.target }}
64+
cache-shared-key: ${{ matrix.os }}-${{ matrix.container }}
65+
cache-workspaces: ${{ env.DEV_DRIVE_WORKSPACE }}
6466

6567
- name: Build binary
68+
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
6669
run: |
67-
cargo build --locked -v
70+
cargo build --locked

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ jobs:
7070
with:
7171
toolchain: stable
7272
target: ${{ matrix.target }}
73+
cache-shared-key: ${{ matrix.os }}-${{ matrix.container }}
74+
cache-workspaces: ${{ env.DEV_DRIVE_WORKSPACE }}
7375

7476
- name: Build binary
77+
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
7578
run: |
7679
cargo build --release --locked
7780
@@ -81,16 +84,17 @@ jobs:
8184
tool: cargo-packager
8285

8386
- name: Package binary
87+
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
8488
run: |
85-
cargo packager --release --formats ${{ matrix.format }} -v
89+
cargo packager --release --formats ${{ matrix.format }}
8690
8791
- name: Upload Artifact (msi)
8892
uses: actions/upload-artifact@v4
8993
if: matrix.os == 'windows-latest'
9094
with:
9195
name: msi
9296
path: |
93-
target/packages/*.msi
97+
${{ env.DEV_DRIVE_WORKSPACE }}/target/packages/*.msi
9498
9599
- name: Upload Artifact (deb)
96100
uses: actions/upload-artifact@v4
@@ -123,7 +127,7 @@ jobs:
123127
- name: Checkout
124128
uses: actions/checkout@v4
125129

126-
- name: Update CHANGELOG
130+
- name: Generate CHANGELOG
127131
id: changelog
128132
uses: requarks/changelog-action@v1
129133
with:

0 commit comments

Comments
 (0)