From 8af192c3d988581029a8f7267955c43a67bcf09a Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Tue, 19 Sep 2023 06:22:56 +0000 Subject: [PATCH 1/7] Update file(s) "/." from "GuillaumeFalourd/useful-actions" --- backup/checkout-workflow.txt | 2 +- backup/pull-request-workflow.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/checkout-workflow.txt b/backup/checkout-workflow.txt index 8da89f601c..0b30e6af65 100644 --- a/backup/checkout-workflow.txt +++ b/backup/checkout-workflow.txt @@ -1 +1 @@ -Mon Sep 18 01:10:12 UTC 2023 +Tue Sep 19 01:10:47 UTC 2023 diff --git a/backup/pull-request-workflow.txt b/backup/pull-request-workflow.txt index c702aebd66..c6613039e8 100644 --- a/backup/pull-request-workflow.txt +++ b/backup/pull-request-workflow.txt @@ -1 +1 @@ -Fri Sep 15 06:21:44 UTC 2023 +Mon Sep 18 06:22:17 UTC 2023 From 0a996eedbf55354ffc32ea86ff50923dd0301939 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Tue, 19 Sep 2023 15:07:34 -0300 Subject: [PATCH 2/7] feat: add workflow-tester89 Signed-off-by: Guillaume Falourd --- .github/workflows/workflow-tester89.yml | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/workflow-tester89.yml diff --git a/.github/workflows/workflow-tester89.yml b/.github/workflows/workflow-tester89.yml new file mode 100644 index 0000000000..e5f05544b6 --- /dev/null +++ b/.github/workflows/workflow-tester89.yml @@ -0,0 +1,26 @@ +name: Test 89 # Related to SO: https://stackoverflow.com/questions/77133952/reusable-workflows-should-be-referenced-at-the-top-level-jobs-uses-key-not +on: + push: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + bd_scan: + runs-on: ubuntu-latest + outputs: + day: ${{ steps.check_day.outputs.day }} + steps: + - name: Check Day of the Week + id: check_day + run: echo "::set-output name=day::$(date +%u)" + + reusable: + needs: [bd_scan] + if: ${{ needs.bd_scan.outputs.day < '5' }} + uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester88-reusable.yml@main + with: + stage: ${{ needs.bd_scan.outputs.day }} + secrets: inherit \ No newline at end of file From 5176d03cbb1a452daac33bf9d085ec706379498e Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Tue, 19 Sep 2023 15:10:29 -0300 Subject: [PATCH 3/7] feat: update workflow-tester89 Signed-off-by: Guillaume Falourd --- .github/workflows/workflow-tester89.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow-tester89.yml b/.github/workflows/workflow-tester89.yml index e5f05544b6..e07cdc48a6 100644 --- a/.github/workflows/workflow-tester89.yml +++ b/.github/workflows/workflow-tester89.yml @@ -15,11 +15,13 @@ jobs: steps: - name: Check Day of the Week id: check_day - run: echo "::set-output name=day::$(date +%u)" + run: | + echo date +%u + echo "day=$(date +%u)" >> $GITHUB_OUTPUT reusable: needs: [bd_scan] - if: ${{ needs.bd_scan.outputs.day < '5' }} + if: ${{ needs.bd_scan.outputs.day < 5 }} uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester88-reusable.yml@main with: stage: ${{ needs.bd_scan.outputs.day }} From 2fcd1d05e80922ed20beba8f9ab300719e7ec1c1 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Tue, 19 Sep 2023 15:11:49 -0300 Subject: [PATCH 4/7] feat: update workflow-tester89 Signed-off-by: Guillaume Falourd --- .github/workflows/workflow-tester89.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow-tester89.yml b/.github/workflows/workflow-tester89.yml index e07cdc48a6..8092fddee5 100644 --- a/.github/workflows/workflow-tester89.yml +++ b/.github/workflows/workflow-tester89.yml @@ -16,7 +16,7 @@ jobs: - name: Check Day of the Week id: check_day run: | - echo date +%u + echo $(date +%u) echo "day=$(date +%u)" >> $GITHUB_OUTPUT reusable: From 962ed48e029a789a34891afb573004511829bb91 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Tue, 19 Sep 2023 17:12:48 -0300 Subject: [PATCH 5/7] update workflow tester 40 Signed-off-by: Guillaume Falourd --- .github/workflows/workflow-tester40.yml | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/workflow-tester40.yml b/.github/workflows/workflow-tester40.yml index 483b88d9d2..09ff9ce276 100644 --- a/.github/workflows/workflow-tester40.yml +++ b/.github/workflows/workflow-tester40.yml @@ -11,11 +11,11 @@ jobs: runs-on: ${{ matrix.test }} strategy: matrix: - test: ${{ env.MAC_OS_RUNNER }} + # test: ${{ env.MAC_OS_RUNNER }} os: [ubuntu-latest, windows-latest, macos-latest] python: [2.7, 3.7, 3.8, 3.9] steps: - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - run: | @@ -23,20 +23,20 @@ jobs: python --version shell: bash - test-include: - runs-on: ubuntu-latest - strategy: - matrix: - org: [apples, bananas, carrots] #Array of org mnemonics to use below - include: - # includes a new variable for each org (this is effectively a switch statement) - - org: apples - test_secret: MAC_OS_RUNNER - - org: bananas - test_secret: MAC_OS_RUNNER - - org: carrots - test_secret: MAC_OS_RUNNER - steps: - - uses: actions/checkout@v2 - - name: Install SFDX CLI and authorize org - run: ${{ secrets[matrix.MAC_OS_RUNNER] }} \ No newline at end of file + # test-include: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # org: [apples, bananas, carrots] #Array of org mnemonics to use below + # include: + # # includes a new variable for each org (this is effectively a switch statement) + # - org: apples + # test_secret: MAC_OS_RUNNER + # - org: bananas + # test_secret: MAC_OS_RUNNER + # - org: carrots + # test_secret: MAC_OS_RUNNER + # steps: + # - uses: actions/checkout@v2 + # - name: Install SFDX CLI and authorize org + # run: ${{ secrets[matrix.MAC_OS_RUNNER] }} \ No newline at end of file From ef689408609f860ab6584980713594db0b19c33f Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Tue, 19 Sep 2023 17:15:52 -0300 Subject: [PATCH 6/7] add 68 os types Signed-off-by: Guillaume Falourd --- .github/workflows/68-ostypes.yml | 15 +++++++++++++++ README.md | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/68-ostypes.yml diff --git a/.github/workflows/68-ostypes.yml b/.github/workflows/68-ostypes.yml new file mode 100644 index 0000000000..014301b971 --- /dev/null +++ b/.github/workflows/68-ostypes.yml @@ -0,0 +1,15 @@ +name: 68 - OS TYPES + +on: + workflow_dispatch: + +jobs: + test-ostype: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + steps: + - run: | + echo $OSTYPE + shell: bash \ No newline at end of file diff --git a/README.md b/README.md index a40f98ae6f..1c7a6787af 100644 --- a/README.md +++ b/README.md @@ -306,3 +306,7 @@ This workflow illustrates how to manipulate matrix object to perform different o [![67 - From JSON Env Var](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/67-fromjson-env-var.yml/badge.svg)](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/67-fromjson-env-var.yml) This workflow illustrates how to extract a specific item from a JSON list stored in a environment variable dynamically. + +[![68 - OS Types](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/68-ostypes.yml/badge.svg)](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/68-ostypes.yml) + +This workflow shows the os type value for each github runner os. From 364e60834a565653a032c294f0c0134caecf964d Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Wed, 20 Sep 2023 04:13:15 +0000 Subject: [PATCH 7/7] macos full remote workflow --- macos_report_full_remote.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 macos_report_full_remote.txt diff --git a/macos_report_full_remote.txt b/macos_report_full_remote.txt new file mode 100644 index 0000000000..7735cf738f --- /dev/null +++ b/macos_report_full_remote.txt @@ -0,0 +1 @@ +Wed Sep 20 04:13:13 UTC 2023