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] 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: