Skip to content

Commit e9eafb6

Browse files
committed
fix(cd): update embed locations for release-plz action
1 parent ae98b5c commit e9eafb6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
libxtst-dev \
3535
pkg-config
3636
37+
- name: Update embedded locations
38+
run: |
39+
sed -i 's|"../../config/"|"../../../config/"|' crates/daktilo_lib/src/embed.rs
40+
sed -i 's|"../../sounds/"|"../../../sounds/"|' crates/daktilo_lib/src/embed.rs
41+
3742
- name: Run release-plz
3843
uses: MarcoIeni/[email protected]
3944
env:

crates/daktilo_lib/src/embed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::str;
88

99
/// Embedded sound assets.
1010
#[derive(RustEmbed)]
11-
#[folder = "../../sounds"]
11+
#[folder = "../../sounds/"]
1212
pub struct EmbeddedSound;
1313

1414
impl EmbeddedSound {

0 commit comments

Comments
 (0)