Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA workflow to automate creation of GH releases & tags #194

Merged
merged 90 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
70eb112
GHA workflow to create new release branch on update to Project version
glennmoy Oct 10, 2023
c5f1136
compare VersionNumbers directly
glennmoy Oct 10, 2023
0ecbc9e
move Release.yml into CI.yml
glennmoy Oct 11, 2023
4bf7763
use actions/download-artifact instead of download_tarballs.jl
glennmoy Oct 11, 2023
b6f8c82
git push tag and branch separately
glennmoy Oct 11, 2023
f5bae65
remove Artifacts.toml from main
glennmoy Oct 11, 2023
8d93df0
refactor workflow
glennmoy Oct 11, 2023
5aaa27e
pull out common env variables
glennmoy Oct 11, 2023
4b33ab5
indenting
glennmoy Oct 11, 2023
7f7c28e
dont run Artifacts CI on pull requests
glennmoy Oct 11, 2023
8e93fac
Revert "remove Artifacts.toml from main"
glennmoy Oct 11, 2023
9adb74b
fix download-artifact action
glennmoy Oct 11, 2023
044b73f
use download_tarballs again
glennmoy Oct 11, 2023
a05fe9f
typo
glennmoy Oct 11, 2023
1499bea
fix include path
glennmoy Oct 11, 2023
ec60107
Use action-gh-release GHA
glennmoy Oct 11, 2023
390405e
don't need download_tarballs.jl
glennmoy Oct 11, 2023
d6d0687
reorganise actions
glennmoy Oct 11, 2023
5948599
Dont run artifacts_CI on release branches
glennmoy Oct 11, 2023
b9ef5d7
Push branch then publish pre-release
glennmoy Oct 11, 2023
2fca843
actually we can run artifacts_CI on release branches
glennmoy Oct 11, 2023
1cb818a
download then bind artifacts
glennmoy Oct 11, 2023
a2ad5fb
call bind_artifacts from julia session
glennmoy Oct 11, 2023
9de1341
use pwd again
glennmoy Oct 11, 2023
86cc970
download-artifacts is dumb
glennmoy Oct 11, 2023
c03c80b
split download/update artifacts steps
glennmoy Oct 12, 2023
9930f69
space
glennmoy Oct 12, 2023
5ea305c
pass GITHUB_TOKEN as env variable
glennmoy Oct 12, 2023
5360470
use different GHA to download artifacts
glennmoy Oct 12, 2023
b1ceca6
indenting
glennmoy Oct 12, 2023
c384387
fix
glennmoy Oct 12, 2023
91a3db7
more specific regex
glennmoy Oct 12, 2023
bdadbfd
download any artifacts at all whatsoever
glennmoy Oct 12, 2023
c3c6205
download from this run_id
glennmoy Oct 12, 2023
8fcd592
Revert using new GHA
glennmoy Oct 12, 2023
3bbf8cf
dont need GITHUB_TOKEN to bind_artifacts
glennmoy Oct 12, 2023
fb30ee9
print commit sha
glennmoy Oct 12, 2023
eaceed2
checkout pull request HEAD commit instead of merge commit
glennmoy Oct 12, 2023
d5f1cd3
PRINT ALL THE INFO
glennmoy Oct 12, 2023
39dd08c
pass headers to list_workflow_run_artifacts
glennmoy Oct 12, 2023
54d01fd
Add `actions: read` permission to publish job
omus Oct 12, 2023
70bbd50
Attempt using `actions/download-artifact` (#200)
omus Oct 13, 2023
9d46971
artifacts_CI only runs on tags
glennmoy Oct 13, 2023
48ff20d
delete download/upload_tarballs.jl
glennmoy Oct 13, 2023
484cb9f
add step at end of artifacts_CI to convert pre-release to release
glennmoy Oct 13, 2023
93af57a
update docs
glennmoy Oct 13, 2023
b61cc15
Delete Artifacts.toml
glennmoy Oct 13, 2023
9f5e29b
don't delete Overrides.toml in CI
glennmoy Oct 13, 2023
43ff28d
Revert "don't delete Overrides.toml in CI"
glennmoy Oct 13, 2023
f025873
log when writing to Overrides.toml
glennmoy Oct 13, 2023
72f6df3
Add dummy Artifacts.toml
glennmoy Oct 13, 2023
66e6813
add line to docs
glennmoy Oct 13, 2023
82895fc
build ray_julia_library in Documenter.yml
glennmoy Oct 13, 2023
ee8d29a
actually run the build_library command
glennmoy Oct 13, 2023
580ffab
conditionally run release job only if Project version changes
glennmoy Oct 13, 2023
4c7ebb8
use LibGit2 to check for latest tag
glennmoy Oct 13, 2023
220589d
cache julia_jll build in Documenter.yml
glennmoy Oct 13, 2023
093c5c1
load LibGit2
glennmoy Oct 13, 2023
2f44e5a
fetch tags and run check from github workspace
glennmoy Oct 13, 2023
c80aff1
fix indent
glennmoy Oct 13, 2023
4baecf7
print dir
glennmoy Oct 13, 2023
b7fcc90
set working-directory
glennmoy Oct 13, 2023
f9d6b46
try pipeline
glennmoy Oct 13, 2023
d4c7bfb
don't use describe?
glennmoy Oct 13, 2023
c25e3a3
just move on..
glennmoy Oct 13, 2023
786df9c
try another GHA
glennmoy Oct 13, 2023
08e96b6
cleanup
glennmoy Oct 13, 2023
068a38e
fix how outputs are passed
glennmoy Oct 13, 2023
534db9c
reapply review comments
glennmoy Oct 19, 2023
9f42ae9
REVERT: test making a tag/release
glennmoy Oct 19, 2023
ba60eda
Use RELEASE_KEY when creating a tag
glennmoy Oct 19, 2023
1fb3f88
Put RELEASE_KEY at head of workflow
glennmoy Oct 19, 2023
f61dc03
delete RELEASE_KEY
glennmoy Oct 19, 2023
ec7d91b
Split out manual Release job
glennmoy Oct 19, 2023
2b953d8
error if we can't make a release
glennmoy Oct 19, 2023
3a3cad9
checkout branch in Release.yml
glennmoy Oct 19, 2023
6cb05d2
REVERT: test on push
glennmoy Oct 19, 2023
50ed57d
Fix Release.yml
glennmoy Oct 19, 2023
3c63718
Set branch to main
glennmoy Oct 19, 2023
a0888de
get artifacts from CI
glennmoy Oct 19, 2023
e4fd0c6
set tag to gm/tag_gha
glennmoy Oct 19, 2023
0c922be
specify build_dir
glennmoy Oct 19, 2023
a92e41c
only run Release.yml manually for main branch
glennmoy Oct 19, 2023
758fb3e
remove make_release output
glennmoy Oct 19, 2023
a84bdd0
update docs
glennmoy Oct 19, 2023
c524bf7
pull artifacts for latest commit on main
glennmoy Oct 19, 2023
c0a661a
check main explicitly
glennmoy Oct 19, 2023
c374f9d
Apply suggestions from code review
glennmoy Oct 19, 2023
1683edc
rename Release -> Pre_release
glennmoy Oct 19, 2023
1eb7229
rename Release -> Pre_release
glennmoy Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
tags: ["*"] # Triggers from tags ignore the `paths` filter: https://github.com/orgs/community/discussions/26273
paths:
- "src/**"
- "test/**"
Expand All @@ -21,6 +20,10 @@ concurrency:
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
env:
build_dir: ./build
ray_dir: ./build/ray
tarballs_dir: ./build/tarballs
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -42,9 +45,6 @@ jobs:
arch: aarch64
- os: macos-latest-xlarge
arch: x64
env:
build_dir: ./build
ray_dir: ./build/ray
steps:
- uses: actions/checkout@v3
- name: Determine Ray commit
Expand Down Expand Up @@ -148,7 +148,6 @@ jobs:
tarball_path = build_host_tarball()
open(ENV["GITHUB_OUTPUT"], "a") do io
println(io, "tarball_path=$tarball_path")
println(io, "tarball_filename=$(basename(tarball_path))")
end
working-directory: ${{ env.build_dir }}
- uses: julia-actions/julia-buildpkg@v1
Expand All @@ -162,10 +161,12 @@ jobs:
file: lcov.info
flags: Ray.jl

# Add the ray_julia library from each job to the same artifact
# https://github.com/actions/upload-artifact#uploading-to-the-same-artifact
- name: Save ray_julia library
uses: actions/upload-artifact@v3
with:
name: ${{ steps.ray_julia.outputs.tarball_filename }}
name: ray_julia_libraries
path: ${{ steps.ray_julia.outputs.tarball_path }}

- name: Save Ray logs
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ concurrency:
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
env:
build_dir: ./build
jobs:
docs:
name: Build
Expand All @@ -28,7 +30,22 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: "1"
- name: Restore build cache
uses: actions/cache/restore@v3
id: build-cache
with:
key: build-cache.ray-jl.documenter
path: ~/.cache
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
# Use a separate step for instantiation to get more fine grained timing of steps
- name: Build ray_julia library
id: ray_julia
shell: julia --color=yes --project {0}
run: |
using Pkg
Pkg.instantiate()
include(joinpath(pwd(), "build_library.jl"))
build_library(; override=true)
working-directory: ${{ env.build_dir }}
- name: Configure doc environment
shell: julia --project=docs --color=yes {0}
run: |
Expand All @@ -52,3 +69,11 @@ jobs:
env:
repo: ${{ github.repository }}
PR: ${{ github.event.number }}

# https://github.com/actions/cache/tree/main/save#always-save-cache
- name: Save build cache
uses: actions/cache/save@v3
if: always() && steps.build-cache.outputs.cache-hit != 'true'
with:
key: ${{ steps.build-cache.outputs.cache-primary-key }}
path: ~/.cache
82 changes: 82 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: "Publish Release"
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
on:
workflow_dispatch:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i.e. can only be manually triggered and allows for triggering of downstream workflows, e.g. artifacts_CI.yml on tag creation

env:
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
build_dir: ./build
tarballs_dir: ./build/tarballs
jobs:
release:
name: "Publish Pre-Release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
with:
fetch-depth: 0 # Needed determine latest tag
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
- name: Get Latest Tag
id: latest_tag
uses: WyriHaximus/github-action-get-previous-tag@v1
# TODO: in future we might need to perform backports, at which point we'll need to check
# that the project.version has not already been tagged
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious if you tried git fetch --tags? If that works then you can change the check later to !(project.version in tags) to support backports

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think it worked - I'll do it as a follow up. Afraid of accidentally breaking things now...

- name: Check for updated Project version
id: project_toml
shell: julia --color=yes --project {0}
env:
LATEST_TAG: ${{ steps.latest_tag.outputs.tag }}
run: |
using Pkg.Types
project = read_project("Project.toml")
latest_tag = parse(VersionNumber, ENV["LATEST_TAG"])
@info "Project version: project.version"
@info "Latest tag: latest_tag"
project.version > latest_tag || exit(1) # error if can't make a tag
open(ENV["GITHUB_OUTPUT"], "a") do io
println(io, "version=$(project.version)")
println(io, "tag=v$(project.version)")
end
- uses: actions/checkout@v4
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
- name: Download artifacts
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
branch: main
name: ray_julia_libraries
path: ${{ env.tarballs_dir }}
workflow: CI.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this run any risk of multiple PRs being merged and picking up either too old or too new artifacts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually yeah I think that's a risk if we use branch dawidd6/action-download-artifact#240

but if we use commit it should be deterministic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe there is a definite danger here of making a release with the wrong tarballs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even with commit? in the linked issue there's confounding variables as the OP is using check_artifacts and search_artifacts which have fallback behaviour

- uses: julia-actions/setup-julia@v1
with:
version: "1.8"
arch: "x64"
- uses: julia-actions/cache@v1
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
- name: Update Artifacts.toml
shell: julia --color=yes --project {0}
run: |
using Pkg
Pkg.instantiate()
include(joinpath(pwd(), "bind_artifacts.jl"))
bind_artifacts()
working-directory: ${{ env.build_dir }}
- name: Commit Changes
id: commit
run: |
# Alternatively environment variables can be used but both author/committer need to be set
# https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_committing
git config user.name beacon-buddy
git config user.email beacon-buddy@beacon.bio

msg="Update Artifacts.toml to use ${{ steps.project_toml.outputs.version }} assets"
git checkout --detach
glennmoy marked this conversation as resolved.
Show resolved Hide resolved
git commit -m "$msg" -- Artifacts.toml
echo "sha=$(git rev-parse HEAD)" | tee -a "$GITHUB_OUTPUT"
- name: Tag and push
run: |
tag=${{ steps.project_toml.outputs.tag }}
git tag $tag ${{ steps.commit.outputs.sha }}
git push origin $tag
- name: Publish Pre-Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: ${{ steps.project_toml.outputs.tag }}
target_commitish: ${{ steps.commit.outputs.sha }}
generate_release_notes: true
files: ${{ env.tarballs_dir }}/*.tar.gz
20 changes: 11 additions & 9 deletions .github/workflows/artifacts_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@ name: Artifacts CI
on:
workflow_dispatch:
push:
branches:
- main
tags: ["*"] # Triggers from tags ignore the `paths` filter: https://github.com/orgs/community/discussions/26273
paths:
- "Artifacts.toml"
- ".github/workflows/artifacts_CI.yml"
pull_request:
paths:
- "Artifacts.toml"
- ".github/workflows/artifacts_CI.yml"
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
Expand Down Expand Up @@ -70,3 +61,14 @@ jobs:
- uses: julia-actions/julia-runtest@v1
with:
annotate: true
release:
name: "Publish Release"
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Publish Release
uses: softprops/action-gh-release@v1
with:
# Any info keys (i.e. prerelease) that are not explicitly set will retain the original
# value if there is already an existing release for the tag.
prerelease: false
40 changes: 2 additions & 38 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,2 @@
[[ray_julia]]
arch = "x86_64"
git-tree-sha1 = "88eb04f4e4a87d0a369288ceb6fb605f4ca4ff03"
julia_version = "1.8.0"
libc = "glibc"
os = "linux"

[[ray_julia.download]]
sha256 = "03bc890efc63375f901325d8f67a2f3403c7d1067658ed693390276ab37f6958"
url = "https://github.com/beacon-biosignals/Ray.jl/releases/download/v0.0.1/ray_julia.v0.0.1.x86_64-linux-gnu-julia_version+1.8.0.tar.gz"
[[ray_julia]]
arch = "aarch64"
git-tree-sha1 = "a24e4bb69ffa0baf615e27f3ae6d00084556881a"
julia_version = "1.8.0"
os = "macos"

[[ray_julia.download]]
sha256 = "2d5ee4e6290e1207250a02e434d588af3321d7f978fe7d57e13d4827ca7aa51b"
url = "https://github.com/beacon-biosignals/Ray.jl/releases/download/v0.0.1/ray_julia.v0.0.1.aarch64-apple-darwin-julia_version+1.8.0.tar.gz"
[[ray_julia]]
arch = "x86_64"
git-tree-sha1 = "32c3aaecc5a1e2aed7e9ce6d9a95bef741d1ef9d"
julia_version = "1.9.0"
libc = "glibc"
os = "linux"

[[ray_julia.download]]
sha256 = "1f96eaf5f35796f60b04172728caa29fc442ffcc30e8ffabfe147791dd711fc8"
url = "https://github.com/beacon-biosignals/Ray.jl/releases/download/v0.0.1/ray_julia.v0.0.1.x86_64-linux-gnu-julia_version+1.9.0.tar.gz"
[[ray_julia]]
arch = "aarch64"
git-tree-sha1 = "81cc7a633a617a01f1fc87674258d880baa4cafb"
julia_version = "1.9.0"
os = "macos"

[[ray_julia.download]]
sha256 = "5969006375abafacf2fff0a1d499b492d1a883d1529e2a20fe69d3a4908f2729"
url = "https://github.com/beacon-biosignals/Ray.jl/releases/download/v0.0.1/ray_julia.v0.0.1.aarch64-apple-darwin-julia_version+1.9.0.tar.gz"
[ray_julia]
git-tree-sha1 = "0000000000000000000000000000000000000000"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Ray"
uuid = "3f779ece-f0b6-4c4f-a81a-0cb2add9eb95"
authors = ["Beacon Biosignals, Inc"]
version = "0.0.1"
version = "0.0.2"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
2 changes: 0 additions & 2 deletions build/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
Tar = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"
ghr_jll = "07c12ed4-43bc-5495-8a2a-d5838ef8d533"

[compat]
CxxWrap = "0.13.4"
Expand Down
9 changes: 6 additions & 3 deletions build/bind_artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function sha256sum(tarball_path)
end
end

if abspath(PROGRAM_FILE) == @__FILE__
function bind_artifacts()
# Start with a clean Artifacts.toml so that unsupported platforms are removed
isfile(ARTIFACTS_TOML) && rm(ARTIFACTS_TOML)

Expand All @@ -32,9 +32,8 @@ if abspath(PROGRAM_FILE) == @__FILE__
artifact_url = gen_artifact_url(; repo_url=REPO_HTTPS_URL, tag=TAG,
filename=artifact_name)

@info "Dowloading artifact $artifact_url"
artifact_path = joinpath(TARBALL_DIR, artifact_name)
Downloads.download(artifact_url, artifact_path)
isfile(artifact_path) || error("No such file $artifact_path")

@info "Adding artifact for $(triplet(platform))"
bind_artifact!(ARTIFACTS_TOML,
Expand All @@ -44,3 +43,7 @@ if abspath(PROGRAM_FILE) == @__FILE__
download_info=[(artifact_url, sha256sum(artifact_path))])
end
end

if abspath(PROGRAM_FILE) == @__FILE__
bind_artifacts()
end
1 change: 1 addition & 0 deletions build/build_library.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function build_library(; override::Bool=true)

# Add entry to depot Overrides.toml
if override
@info "Adding entry to Overrides.toml..."
pkg_uuid = TOML.parsefile(PROJECT_TOML)["uuid"]

overrides_toml = joinpath(first(DEPOT_PATH), "artifacts", "Overrides.toml")
Expand Down
35 changes: 0 additions & 35 deletions build/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@ using URIs: URI
const TARBALL_DIR = joinpath(@__DIR__, "tarballs")
const SO_FILE = "julia_core_worker_lib.so"

const TARBALL_REGEX = r"""
^ray_julia\.v(?<jll_version>[0-9]+(\.[0-9]+){2})\.
(?<triplet>[a-z0-9_-]+)-
julia_version\+(?<julia_version>[0-9]+(\.[0-9]+){2})\.
tar\.gz$
"""x

const GH_RELEASE_ASSET_PATH_REGEX = r"""
^/(?<owner>[^/]+)/(?<repo_name>[^/]+)/
releases/download/
(?<tag>[^/]+)/?$
"""x

const REQUIRED_BASE_TRIPLETS = ("x86_64-linux-gnu", "aarch64-apple-darwin")
const REQUIRED_JULIA_VERSIONS = (v"1.8", v"1.9")
const REQUIRED_PLATFORMS = let
Expand All @@ -36,24 +23,6 @@ function remote_url(repo_root::AbstractString, name::AbstractString="origin")
end
end

function git_head_sha(repo_root::AbstractString=REPO_PATH)
return LibGit2.with(LibGit2.GitRepo(repo_root)) do repo
ref = LibGit2.head(repo)
commit = LibGit2.peel(LibGit2.GitCommit, ref)
return string(LibGit2.GitHash(commit))
end
end

function github_token()
return get(ENV, "GITHUB_TOKEN") do
s = Base.getpass("GitHub PAT")
println()
token = read(s, String)
Base.shred!(s)
return token
end
end

function convert_to_https_url(url)
m = match(LibGit2.URL_REGEX, url)
if m === nothing
Expand Down Expand Up @@ -83,12 +52,8 @@ end

const REPO_PATH = abspath(joinpath(@__DIR__, ".."))
const REPO_HTTPS_URL = convert_to_https_url(remote_url(REPO_PATH))
const REPO_ORG = split(parse(URI, REPO_HTTPS_URL).path, '/')[2]
const REPO_NAME = split(parse(URI, REPO_HTTPS_URL).path, '/')[3]
const COMPILED_DIR = joinpath(REPO_PATH, "build", "bazel-bin")

const ARTIFACTS_TOML = joinpath(REPO_PATH, "Artifacts.toml")
const ARTIFACTS_WORKFLOW_NAME = "CI"

const TAG = let
project_toml = joinpath(REPO_PATH, "Project.toml")
Expand Down
Loading
Loading