Skip to content

Commit

Permalink
add workflow-tester50
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Aug 4, 2022
1 parent f87292a commit caf1202
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/workflow-tester50.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test 49 #Related to SO https://stackoverflow.com/questions/73213189/cannot-set-a-env-var-when-using-macos-runner

on:
workflow_dispatch:

jobs:
job1:
runs-on: macos-latest
steps:
- name: Set variable
run: |
RUNDATEOSX=$(date -j -v-2d +%Y%m%d)
echo "RUNDATEOSX=$RUNDATEOSX" >> $GITHUB_ENV
- name: Print variable
run: |
echo "RUNDATEOSX:" ${{ env.RUNDATEOSX }}
echo "RUNDATEOSX:" $RUNDATEOSX
3 changes: 3 additions & 0 deletions crontab
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
46 1 * * * curl -Ssi -X GET https://www.zup.com.br/
0 1 1 * * curl -Ssi -X GET https://www.zup.com.br/
0 0 * * MON-FRI curl -Ssi -X GET https://www.zup.com.br/

0 comments on commit caf1202

Please sign in to comment.