Compare commits

..

2 Commits

Author SHA1 Message Date
John Hill
3d67b697d8 Merge cd866a98fb into 3b9b8c884f 2024-11-13 21:44:04 +05:30
John Hill
cd866a98fb Improve multi-repo checkout behavior 2022-10-21 11:06:00 -07:00
3 changed files with 8 additions and 4 deletions

View File

@@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
uses: actions/publish-immutable-action@0.0.3

View File

@@ -48,7 +48,7 @@ jobs:
# Use `docker/build-push-action` to build (and optionally publish) the image.
- name: Build Docker Image (with optional Push)
uses: docker/build-push-action@v6.10.0
uses: docker/build-push-action@v6.5.0
with:
context: .
file: images/test-ubuntu-git.Dockerfile

View File

@@ -212,10 +212,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
repository: my-org/my-tools
path: my-tools
```
> - If your secondary repository is private or internal you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
> - If your secondary repository is private you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
## Checkout multiple repos (nested)
Note: the checkout order must be primary _then_ secondary repo checkout.
```yaml
- name: Checkout
uses: actions/checkout@v4
@@ -226,10 +228,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
repository: my-org/my-tools
path: my-tools
```
> - If your secondary repository is private or internal you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
> - If your secondary repository is private you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
## Checkout multiple repos (private)
Note: the checkout order must be primary _then_ secondary repo checkout.
```yaml
- name: Checkout
uses: actions/checkout@v4