This directory contains a number of zip archives that should be able to be successfully read.
Download the fixture with
using Pkg.Artifacts
fixture_dir = "fixture"
cp(joinpath(artifact"fixture","fixture"), fixture_dir)
Add the file to the "fixture" directory, and a description to this file.
Then run
# This is the url that the artifact will be available from:
url_to_upload_to = "https://github.com/medyan-dev/ZipArchives.jl/releases/download/v0.2.1/fixture.tar.gz"
# This is the path to the Artifacts.toml we will manipulate
artifact_toml = "Artifacts.toml"
fixture_hash = create_artifact() do artifact_dir
cp(fixture_dir, joinpath(artifact_dir,"fixture"))
end
tar_hash = archive_artifact(fixture_hash, "fixture.tar.gz")
bind_artifact!(artifact_toml, "fixture", fixture_hash; force=true,
download_info = [(url_to_upload_to, tar_hash)]
)
Finally, upload the new "fixture.tar.gz" to url_to_upload_to
Small excel file created on windows 11 in microsoft Excel version 2305.
Small OpenDocument Spreadsheet file created on windows 11 in microsoft Excel version 2305.
Small OpenDocument Spreadsheet file created on windows 11 in LibreOffice Calc 7.5
Small zip file created with windows 11 file explorer
Small zip file created with windows 11 Info-ZIP Zip 3.0
Small zip file created with windows 11 7Zip 22.01
Small zip file created with windows 11 p7zip_jll 17.4.0+0
Small odp file created on windows 11 in microsoft PowerPoint version 2305
Small pptx file created on windows 11 in microsoft PowerPoint version 2305
Zip file downloaded from a github on 20 JUN 2023
Example jar file from https://mvnrepository.com/artifact/io.github.asakaev/leftpad-core_2.13/0.1.11
Created with default ubuntu files program
Created with 7zip version 22.01 (x64)
Created with 7zip version 16.02 p7zip 16.02
Small zip file created with ubuntu22 Info-ZIP Zip 3.0