From 0facb09ef29c5f48a156ff176907e1b72736c775 Mon Sep 17 00:00:00 2001 From: jesvinser <100197253+jesvinser@users.noreply.github.com> Date: Sat, 10 May 2025 23:34:52 +0200 Subject: [PATCH 1/5] Create pipeline.yml --- .github/workflows/pipeline.yml | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/pipeline.yml diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 00000000..fa3fbbbc --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,39 @@ +name: Demostrador para Acciones GitHub + +on: + push: + workflow_dispatch: + +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "๐ŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "๐Ÿง This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "๐Ÿ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "๐Ÿ’ก The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "๐Ÿ–ฅ๏ธ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "๐Ÿ This job's status is ${{ job.status }}." + + dump_contexts_to_log: + needs: Explore-GitHub-Actions + runs-on: ubuntu-latest + steps: + - name: Mostrando contexto GitHub + id: github_context_step + run: echo '${{ toJSON(github) }}' + - name: Mostrando contexto job + run: echo '${{ toJSON(job) }}' + - name: Mostrando contexto steps + run: echo '${{ toJSON(steps) }}' + - name: Mostrando contexto runner + run: echo '${{ toJSON(runner) }}' + - name: Mostrando contexto strategy + run: echo '${{ toJSON(strategy) }}' + - name: Mostrando contexto matrix + run: echo '${{ toJSON(matrix) From 7e5412146b90593585d47c0db1517e1fdc5d00ea Mon Sep 17 00:00:00 2001 From: jesvinser <100197253+jesvinser@users.noreply.github.com> Date: Sat, 10 May 2025 23:36:10 +0200 Subject: [PATCH 2/5] Update pipeline.yml --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index fa3fbbbc..23741da8 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -36,4 +36,4 @@ jobs: - name: Mostrando contexto strategy run: echo '${{ toJSON(strategy) }}' - name: Mostrando contexto matrix - run: echo '${{ toJSON(matrix) + run: echo '${{ toJSON(matrix)}} From d4b301ca6ae41c24f43e204ec4ce941a6e6dc478 Mon Sep 17 00:00:00 2001 From: jesvinser <100197253+jesvinser@users.noreply.github.com> Date: Sat, 10 May 2025 23:37:57 +0200 Subject: [PATCH 3/5] Update pipeline.yml --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 23741da8..9ddc1041 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -36,4 +36,4 @@ jobs: - name: Mostrando contexto strategy run: echo '${{ toJSON(strategy) }}' - name: Mostrando contexto matrix - run: echo '${{ toJSON(matrix)}} + run: echo '${{ toJSON(matrix) }}' From bd80a62d39034405b3f3dbe3a56277434022d3fb Mon Sep 17 00:00:00 2001 From: jesvinser <100197253+jesvinser@users.noreply.github.com> Date: Sat, 10 May 2025 23:50:51 +0200 Subject: [PATCH 4/5] Create jesvinser.yml --- .github/workflows/jesvinser.yml | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/jesvinser.yml diff --git a/.github/workflows/jesvinser.yml b/.github/workflows/jesvinser.yml new file mode 100644 index 00000000..f374e26f --- /dev/null +++ b/.github/workflows/jesvinser.yml @@ -0,0 +1,53 @@ +name: Flujo de trabajo para andguicam + +on: + workflow_dispatch: + issues: + types: [opened, edited] + +jobs: + Build: + runs-on: ubuntu-latest + env: + GITHUB_LOGIN: ${{ github.actor }} + GITHUB_PACKAGES: ${{ secrets.GITHUB_TOKEN }} + GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Clonando el repositorio y estableciendo el espacio de trabajo + uses: actions/checkout@v3 + + - name: Configurando java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '16' + + - name: Construyendo el cรณdigo + run: | + chmod +x gradlew + ./gradlew assemble + + - name: Subiendo artefacto del build + uses: actions/upload-artifact@v4 + with: + name: build-output + path: build/libs/ + + Test: + runs-on: ubuntu-latest + needs: Build + steps: + - name: Clonando el repositorio y estableciendo el espacio de trabajo + uses: actions/checkout@v3 + + - name: Configurando java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '16' + + - name: Ejecutando los tests + run: | + chmod +x gradlew + ./gradlew test + From fd64903db7789744b9640d9857d48f973901d5fd Mon Sep 17 00:00:00 2001 From: jesvinser <100197253+jesvinser@users.noreply.github.com> Date: Sat, 10 May 2025 23:52:56 +0200 Subject: [PATCH 5/5] Update jesvinser.yml --- .github/workflows/jesvinser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jesvinser.yml b/.github/workflows/jesvinser.yml index f374e26f..5107efc9 100644 --- a/.github/workflows/jesvinser.yml +++ b/.github/workflows/jesvinser.yml @@ -1,4 +1,4 @@ -name: Flujo de trabajo para andguicam +name: Flujo de trabajo para jesvinser on: workflow_dispatch: