Skip to content

Commit

Permalink
use local action
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Jan 16, 2024
1 parent 2390765 commit 88d3bd7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 88d3bd7

Please sign in to comment.