-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Guillaume Falourd <[email protected]>
- Loading branch information
1 parent
f87292a
commit caf1202
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |