Add upload artifact

This commit is contained in:
IndyV 2022-11-04 15:56:32 +01:00
parent 945175fe8e
commit 44e9ff4bff
2 changed files with 13 additions and 8 deletions

View File

@ -21,13 +21,18 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: cargo build --release
- name: Look around
run: |
ls
ls target
ls target/debug
# - name: Look around
# run: |
# ls
# ls target
# ls target/debug
- name: Lint
run: cargo clippy -- -W clippy::pedantic -W clippy::nursery -W clippy::expect_used
run: cargo clippy --release -- -W clippy::pedantic -W clippy::nursery -W clippy::expect_used
- uses: actions/upload-artifact@v3
with:
name: sharextended
path: ./target/release/sharextended.exe

View File

@ -84,7 +84,7 @@ fn prompt_history_file() -> Option<PathBuf> {
println!();
match menu_response {
0 => Some(default_path.to_path_buf()),
0 => Some(default_path.clone()),
1 => Some(
tinyfiledialogs::open_file_dialog(
"Choose where sharex history is stored",