Skip to content

Commit

Permalink
cleanup generated dev release files
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Jan 16, 2024
1 parent a2f1727 commit 482239b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,29 @@ jobs:
# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
path: ./create-bosh-release-action-test-boshrelease

- name: Setup tests
id: setup_tests
run: |
du -a
git config --global --add safe.directory /github/workspace/create-bosh-release-action-test-boshrelease
git --no-pager config --global --list
# - name: Setup tests
# id: setup_tests
# run: |
# du -a
# git config --global --add safe.directory /github/workspace/create-bosh-release-action-test-boshrelease
# git --no-pager config --global --list

- name: Test dev release
id: test_dev_release
uses: ./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

- name: Cleanup generated test files
run: |
echo ""
git --git-dir=create-bosh-release-action-test-boshrelease clean -fdx
- name: Test final release
id: test_final_release
uses: ./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
tag_name: "0.1.0"
override_existing: "true"
override_existing: "true"
debug: 1

0 comments on commit 482239b

Please sign in to comment.