Skip to content

Commit 42375ee

Browse files
committed
add private = false
1 parent ccbc7c4 commit 42375ee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Provides the function
1111
which makes it easy for Julia projects to ship their own tarballs as
1212
[Artifacts](https://julialang.github.io/Pkg.jl/dev/artifacts/).
1313

14-
> [!NOTE]
14+
> [!NOTE]
1515
> Note that artifacts need to be compressed tarballs
1616
1717
## Example
@@ -60,7 +60,7 @@ julia> write(joinpath(tempdir, "file"), "hello");
6060
julia> artifact_id = artifact_from_directory(tempdir)
6161
SHA1("538e83d637ab07ada6d841aa2454e0d5af4e52b3")
6262

63-
julia> gist = upload_to_gist(artifact_id)
63+
julia> gist = upload_to_gist(artifact_id; private = false)
6464
- Creating gist...
6565
✓ Created gist
6666
Cloning into '.'...

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ end
7474
file = joinpath(tempdir, "hello.txt")
7575
write(file, "Hello, world.\n")
7676
artifact_id = artifact_from_directory(tempdir)
77-
gist = upload_to_gist(artifact_id)
77+
gist = upload_to_gist(artifact_id; private = false)
7878

7979
@test gist.id == artifact_id
8080
@test occursin("gist.github.com", gist.url)

0 commit comments

Comments
 (0)