From e85a27da683de5c3e8fa602f96455ab8c7892970 Mon Sep 17 00:00:00 2001 From: "wojciech.stechura" Date: Thu, 28 Nov 2024 12:46:02 +0100 Subject: [PATCH] Test --- .github/actions/update-version/action.yaml | 21 ++++++++++++++------- .github/workflows/build-and-test.yaml | 14 ++++++++------ 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/.github/actions/update-version/action.yaml b/.github/actions/update-version/action.yaml index a2432eb..90003d3 100644 --- a/.github/actions/update-version/action.yaml +++ b/.github/actions/update-version/action.yaml @@ -39,19 +39,26 @@ runs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + - name: "All" + shell: bash + run: git branch -a + + - name: "LS" + shell: bash + run: ls -lag - name: "Checkout" shell: bash - run: | - git checkout master + run: git checkout master - name: "Add" shell: bash - run: | - git add galaxy.yml + run: git add galaxy.yml - name: "Commit" shell: bash - run: | - git commit -m "Update galaxy.yaml version to ${{ env.LATEST_VERSION }}" -# git push --dry-run origin master + run: git commit -m "Update galaxy.yaml version to ${{ env.LATEST_VERSION }}" + + - name: "Push" + shell: bash + run: git push --dry-run origin master diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index be46171..32b360e 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -23,15 +23,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set environment variables uses: ./.github/actions/set-environment-variables - name: Update version uses: ./.github/actions/update-version - name: Set up environment uses: ./.github/actions/setup-build-environment - - name: Build the collection - uses: ./.github/actions/build-collection - - name: Run sanity tests - uses: ./.github/actions/run-sanity-tests - - name: Run component tests - uses: ./.github/actions/run-component-tests +# - name: Build the collection +# uses: ./.github/actions/build-collection +# - name: Run sanity tests +# uses: ./.github/actions/run-sanity-tests +# - name: Run component tests +# uses: ./.github/actions/run-component-tests