From 482239b013367e22cae48f1d98915d1183f35f7f Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Tue, 16 Jan 2024 10:53:57 +0000 Subject: [PATCH] cleanup generated dev release files --- .github/workflows/on-commit.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index 35db10c..a553d18 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -23,12 +23,12 @@ 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 @@ -36,7 +36,10 @@ jobs: 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 @@ -44,4 +47,5 @@ jobs: target_branch: main dir: create-bosh-release-action-test-boshrelease tag_name: "0.1.0" - override_existing: "true" \ No newline at end of file + override_existing: "true" + debug: 1 \ No newline at end of file