From a2b6da73e702dba5cc7c867482f9a788ea89d03a Mon Sep 17 00:00:00 2001 From: Michael Hatherly Date: Fri, 1 Jul 2022 11:06:04 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f0c14f..f819193 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,21 @@ Add a private Julia package registry. ## Usage +First add a `JULIA_PKG_SERVER` environment variable to the toplevel of your workflow file that references your private package server. + +```yml +env: + JULIA_PKG_SERVER: https://my-pkg-server.example.com/ +``` + +Then add the following step after your job's [`setup-julia`](https://github.com/julia-actions/setup-julia) step. + ```yml -- uses: PumasAI/add-private-registry +- uses: PumasAI/add-private-registry@COMMIT with: juliahub_token_encoded: ${{ secrets.JULIAHUB_TOKEN_ENCODED }} private_registry_name: MyPrivateRegistry private_registry_uuid: 00000000-0000-0000-0000-000000000000 - env: - JULIA_PKG_SERVER: https://my-pkg-server.example.com/ ``` + +where `COMMIT` is the commit SHA that of this action that you would like to use. From 9d293dbf48492dd3ff64c365d066d3cfdd9004d7 Mon Sep 17 00:00:00 2001 From: Michael Hatherly Date: Fri, 1 Jul 2022 18:39:57 +0100 Subject: [PATCH 2/2] Fixup typo. Co-authored-by: Dilum Aluthge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f819193..35716e1 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,4 @@ Then add the following step after your job's [`setup-julia`](https://github.com/ private_registry_uuid: 00000000-0000-0000-0000-000000000000 ``` -where `COMMIT` is the commit SHA that of this action that you would like to use. +where `COMMIT` is the commit SHA of this action that you would like to use.