From 4d77a6a923277f9c460139f2aac9d86c61448d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Gonz=C3=A1lez?= Date: Wed, 13 May 2026 09:47:48 +0200 Subject: [PATCH 1/3] test checkout --- .github/workflows/checkout.yml | 21 +++++++++++++++++++++ .github/workflows/test.yml | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/checkout.yml diff --git a/.github/workflows/checkout.yml b/.github/workflows/checkout.yml new file mode 100644 index 0000000..f317874 --- /dev/null +++ b/.github/workflows/checkout.yml @@ -0,0 +1,21 @@ +name: Create release from tag + +on: + push: + tags: + - 'test*' + +jobs: + create_release: + runs-on: ubuntu-latest + permissions: + contents: write # needed to create releases + steps: + - name: Environment Variables + run: pwd; env + - name: Checkout + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh repo clone $GITHUB_REPOSITORY -- --depth 1 + - name: List files + run: find . \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6adc1a4..bb2be3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,7 @@ name: run-test-on-push on: push: branches: - - master - # - feature/embed-http-server + - test jobs: run-script: From f8c27787263935f4d0f9c182dfb4c03895d47160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Gonz=C3=A1lez?= Date: Wed, 13 May 2026 09:52:02 +0200 Subject: [PATCH 2/3] absolute paths 2 --- .github/workflows/checkout.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkout.yml b/.github/workflows/checkout.yml index f317874..dad8769 100644 --- a/.github/workflows/checkout.yml +++ b/.github/workflows/checkout.yml @@ -18,4 +18,4 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh repo clone $GITHUB_REPOSITORY -- --depth 1 - name: List files - run: find . \ No newline at end of file + run: find $(pwd) \ No newline at end of file From 63d9230dea7d0720b1e73e27e0de4e24c3a1629b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Gonz=C3=A1lez?= Date: Wed, 13 May 2026 10:23:21 +0200 Subject: [PATCH 3/3] absolute paths 4 --- .github/workflows/checkout.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkout.yml b/.github/workflows/checkout.yml index dad8769..6578f58 100644 --- a/.github/workflows/checkout.yml +++ b/.github/workflows/checkout.yml @@ -1,4 +1,4 @@ -name: Create release from tag +name: Test checkout on: push: @@ -6,7 +6,7 @@ on: - 'test*' jobs: - create_release: + test_checkout_no_actions: runs-on: ubuntu-latest permissions: contents: write # needed to create releases @@ -16,6 +16,6 @@ jobs: - name: Checkout env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh repo clone $GITHUB_REPOSITORY -- --depth 1 + run: gh repo clone $GITHUB_REPOSITORY . -- --depth 1 - name: List files run: find $(pwd) \ No newline at end of file