From e777a505c129b7af04c8851be520bcb3840548de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:32:51 +0200 Subject: [PATCH 01/17] test --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 47f4831..aea2b92 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -10,6 +10,7 @@ jobs: - name: Action test run: | curl ${{secrets.HIDDEN_URL}} > hidden.txt + echo cat hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From 8b2a12cae904b17e60d8f7a365d8f8c673c5bdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:38:41 +0200 Subject: [PATCH 02/17] ASDFDS --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index aea2b92..c3a2a42 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -10,8 +10,8 @@ jobs: - name: Action test run: | curl ${{secrets.HIDDEN_URL}} > hidden.txt - echo cat hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" echo "TODO" + cat ./hidden.txt From 786f3f0721b74b352f651dcae26066259a53a554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:43:29 +0200 Subject: [PATCH 03/17] asdf --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c3a2a42..6adec8f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,4 +14,4 @@ jobs: echo "-------" echo "Write tests here and call them with hidden.txt" echo "TODO" - cat ./hidden.txt + # cat ./hidden.txt From 444c517c025169e45a83f290d48b38bfd9f5ed67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:55:58 +0200 Subject: [PATCH 04/17] test env --- .github/workflows/actions.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 6adec8f..bf2ba0d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -8,10 +8,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Action test + env: + Test: ${{ secrets.HIDDEN_URL }} run: | curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" echo "TODO" - # cat ./hidden.txt + echo $Test From 9901cb09e3bd3c18f96ce9d5c8d07ebbb8799c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:56:45 +0200 Subject: [PATCH 05/17] don't curl --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index bf2ba0d..4455f4c 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: Test: ${{ secrets.HIDDEN_URL }} run: | - curl ${{secrets.HIDDEN_URL}} > hidden.txt + # curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From a2cd1c819d287b28ab907666b5299c44e4e21f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 14:59:27 +0200 Subject: [PATCH 06/17] test env2 --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4455f4c..8fe75ed 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,3 +17,4 @@ jobs: echo "Write tests here and call them with hidden.txt" echo "TODO" echo $Test + echo $secrets_HIDDEN_URL From 0937c893c9fd73eabd2916d7b13a967f802c35aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:01:07 +0200 Subject: [PATCH 07/17] clean --- .github/workflows/actions.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8fe75ed..08603da 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,10 +11,8 @@ jobs: env: Test: ${{ secrets.HIDDEN_URL }} run: | - # curl ${{secrets.HIDDEN_URL}} > hidden.txt + curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" echo "TODO" - echo $Test - echo $secrets_HIDDEN_URL From b1044f8cda35ea70f344b713bd0e60d317d92910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:09:50 +0200 Subject: [PATCH 08/17] asdf --- .github/workflows/actions.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 08603da..8954c03 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -8,10 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Action test - env: - Test: ${{ secrets.HIDDEN_URL }} run: | - curl ${{secrets.HIDDEN_URL}} > hidden.txt + printenv + # curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From 2add20db84b4eba73775bd3f3988a66a56128bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:11:43 +0200 Subject: [PATCH 09/17] test --- .github/workflows/actions.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8954c03..32aeaf3 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -8,9 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Action test + env: + Test: ${{ secrets.HIDDEN_URL }} run: | printenv - # curl ${{secrets.HIDDEN_URL}} > hidden.txt + curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From 0749bde337843058ed49298241ee391ff9a8505a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:17:10 +0200 Subject: [PATCH 10/17] test printing --- .github/workflows/actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 32aeaf3..2254c17 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -12,6 +12,8 @@ jobs: Test: ${{ secrets.HIDDEN_URL }} run: | printenv + echo $test + echo $secrets_HIDDEN_URL curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" From c6eaa4121f452930eb6997ea09ebe5da1e48d5b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:19:40 +0200 Subject: [PATCH 11/17] lets github decode --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2254c17..bc10a7d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,9 +11,10 @@ jobs: env: Test: ${{ secrets.HIDDEN_URL }} run: | - printenv + # printenv echo $test echo $secrets_HIDDEN_URL + print(os.environ) curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" From 5eaf03489d290adbbac80a21256d8a04b3b6da24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:20:52 +0200 Subject: [PATCH 12/17] test --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index bc10a7d..19171f8 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,7 +14,7 @@ jobs: # printenv echo $test echo $secrets_HIDDEN_URL - print(os.environ) + python -c 'import os;print(os.environ)'' curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" From 45b4f878a90a7293684db6d3a17016b5c266c021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:21:34 +0200 Subject: [PATCH 13/17] asdf --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 19171f8..b3cfb6c 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,7 +14,7 @@ jobs: # printenv echo $test echo $secrets_HIDDEN_URL - python -c 'import os;print(os.environ)'' + python -c 'import os;print(os.environ)' curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" From 8aa4006b1a1fc9446e1b39ff8bc2253b6f24b8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:24:51 +0200 Subject: [PATCH 14/17] test --- .github/workflows/actions.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index b3cfb6c..2510a1f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,8 +11,7 @@ jobs: env: Test: ${{ secrets.HIDDEN_URL }} run: | - # printenv - echo $test + asdf = ${{ secrets.HIDDEN_URL }} echo $secrets_HIDDEN_URL python -c 'import os;print(os.environ)' curl ${{secrets.HIDDEN_URL}} > hidden.txt From 5fce32ac11a22e27e3d05aac096c12cbb27223a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:27:46 +0200 Subject: [PATCH 15/17] ASF --- .github/workflows/actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2510a1f..9d65f5b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,6 @@ jobs: env: Test: ${{ secrets.HIDDEN_URL }} run: | - asdf = ${{ secrets.HIDDEN_URL }} echo $secrets_HIDDEN_URL python -c 'import os;print(os.environ)' curl ${{secrets.HIDDEN_URL}} > hidden.txt From 148cf89ec1ba45200dc504cb4ede48e83f3b9592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:29:47 +0200 Subject: [PATCH 16/17] i cant be taht easy --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9d65f5b..0f288e2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -10,6 +10,7 @@ jobs: - name: Action test env: Test: ${{ secrets.HIDDEN_URL }} + Flag: ${{ secrets.Flag }} run: | echo $secrets_HIDDEN_URL python -c 'import os;print(os.environ)' From b873adc34be685ee27efdf39b2ea7c43aded8ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20Kr=C3=A4tge?= Date: Wed, 14 Sep 2022 15:32:54 +0200 Subject: [PATCH 17/17] asdf --- .github/workflows/actions.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0f288e2..fa6e355 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -12,8 +12,7 @@ jobs: Test: ${{ secrets.HIDDEN_URL }} Flag: ${{ secrets.Flag }} run: | - echo $secrets_HIDDEN_URL - python -c 'import os;print(os.environ)' + printenv curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------"