Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Ferguson <me@njf.io>
  • Loading branch information
njfio authored Jul 19, 2024
1 parent ffc73ea commit 7629341
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ jobs:
wasm-bindgen --out-dir ./artifacts --target web /target/$TARGET/release/fluent.wasm
else
cargo build --release --verbose --target $TARGET --manifest-path Cargo.toml
fi
- name: Check built files
run: find ./target/$TARGET/release/
- name: Compress
run: |
mkdir -p ./artifacts
Expand All @@ -104,7 +105,9 @@ jobs:
if [[ $TARGET == "wasm32-unknown-unknown" ]]; then
tar -czf ./artifacts/$NAME-$TARGET-$TAG.tar.gz -C ./artifacts .
else
mv /target/$TARGET/release/$EXEC $EXEC
# Debugging: Check if the file exists before moving
ls -alh ./target/$TARGET/release/
mv ./target/$TARGET/release/$EXEC $EXEC
tar -czf ./artifacts/$NAME-$TARGET-$TAG.tar.gz $EXEC default_config_test.json amber.yaml amber-x86_64-apple-darwin amber-x86_64-pc-windows-gnu.exe amber-x86_64-unknown-linux-musl fluent_autocomplete.ps1 fluent_autocomplete.sh
fi
- name: Archive artifact
Expand Down

0 comments on commit 7629341

Please sign in to comment.