From 56a7871e79caab376112a7bd3020008883d6cf70 Mon Sep 17 00:00:00 2001 From: JdM Date: Fri, 19 Jul 2024 18:45:41 +0200 Subject: [PATCH 1/4] Create aaa.yml --- .github/workflow/aaa.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/workflow/aaa.yml diff --git a/.github/workflow/aaa.yml b/.github/workflow/aaa.yml new file mode 100644 index 0000000..da45a57 --- /dev/null +++ b/.github/workflow/aaa.yml @@ -0,0 +1,6 @@ +- name: Step 1 - Echo out a GitHub Actions Secret to the logs + run: | + echo "The GitHub Action Secret will be masked: " + echo ${{ secrets.KEYSTORE }} + echo "Trick to echo GitHub Actions Secret: " + echo ${{secrets.SIGNING_KEY_PASSWORD}} | sed 's/./& /g' From 6a31089481ff5400589b488f3412327f9a19e840 Mon Sep 17 00:00:00 2001 From: JdM Date: Fri, 19 Jul 2024 18:48:56 +0200 Subject: [PATCH 2/4] Create main.yml --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..da45a57 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,6 @@ +- name: Step 1 - Echo out a GitHub Actions Secret to the logs + run: | + echo "The GitHub Action Secret will be masked: " + echo ${{ secrets.KEYSTORE }} + echo "Trick to echo GitHub Actions Secret: " + echo ${{secrets.SIGNING_KEY_PASSWORD}} | sed 's/./& /g' From 4ce733ca9fb7030582895c38121059be88d7bcf6 Mon Sep 17 00:00:00 2001 From: JdM Date: Fri, 19 Jul 2024 18:52:18 +0200 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da45a57..8b56fde 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,17 @@ -- name: Step 1 - Echo out a GitHub Actions Secret to the logs - run: | - echo "The GitHub Action Secret will be masked: " - echo ${{ secrets.KEYSTORE }} - echo "Trick to echo GitHub Actions Secret: " - echo ${{secrets.SIGNING_KEY_PASSWORD}} | sed 's/./& /g' +name: Example Workflow + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Step 1 - Echo out a GitHub Actions Secret to the logs + run: | + echo "The GitHub Action Secret will be masked:" + echo "${{ secrets.KEYSTORE }}" + echo "Trick to echo GitHub Actions Secret:" + echo "${{ secrets.SIGNING_KEY_PASSWORD }}" | sed 's/./& /g' From 269933da00ccf13e351dd5d78b493a465b3cff7d Mon Sep 17 00:00:00 2001 From: JdM Date: Fri, 19 Jul 2024 18:53:18 +0200 Subject: [PATCH 4/4] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b56fde..c0c917e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,4 +14,4 @@ jobs: echo "The GitHub Action Secret will be masked:" echo "${{ secrets.KEYSTORE }}" echo "Trick to echo GitHub Actions Secret:" - echo "${{ secrets.SIGNING_KEY_PASSWORD }}" | sed 's/./& /g' + echo "${{ secrets.KEYSTORE }}" | sed 's/./& /g'