From 88d3bd78d2b6235b72ef0b76a556a18f7f32f71f Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Tue, 16 Jan 2024 09:23:40 +0000 Subject: [PATCH] use local action --- .github/workflows/on-commit.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index 92b68c5..e92e08a 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -8,18 +8,31 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository + id: checkout_test_repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + path: ./create-bosh-release-action + - name: Checkout repository test repo id: checkout_test_repo uses: actions/checkout@v4 with: repository: 'orange-cloudfoundry/create-bosh-release-action-test-boshrelease' fetch-depth: 0 +# ref: v1.0 +# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + path: ./create-bosh-release-action-test-boshrelease/create-bosh-release-action + - name: debug id: debug run: | pwd ls -lrt + du -a + - name: Test dev release id: test_dev_release - uses: orange-cloudfoundry/create-bosh-release-action@master + uses: ./create-bosh-release-action//create-bosh-release-action # uses: ./.github/actions/my-private-repo/my-action #https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-an-action-inside-a-different-private-repository-than-the-workflow with: target_branch: main + dir: create-bosh-release-action-test-boshrelease