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/.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 diff --git a/.github/workflows/workflow-tester89.yml b/.github/workflows/workflow-tester89.yml new file mode 100644 index 0000000000..8092fddee5 --- /dev/null +++ b/.github/workflows/workflow-tester89.yml @@ -0,0 +1,28 @@ +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 $(date +%u) + echo "day=$(date +%u)" >> $GITHUB_OUTPUT + + 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 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. 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 diff --git a/ubuntu_report_full_remote.txt b/ubuntu_report_full_remote.txt index b9f9f7edac..96d8c2e4bc 100644 --- a/ubuntu_report_full_remote.txt +++ b/ubuntu_report_full_remote.txt @@ -1 +1 @@ -Tue Sep 19 02:13:43 UTC 2023 +Wed Sep 20 02:12:34 UTC 2023