Skip to content

Commit

Permalink
chore: use modern syntax for setting env var in pause-eco (for status…
Browse files Browse the repository at this point in the history
…cake)
  • Loading branch information
josephpage committed Nov 28, 2023
1 parent b41875c commit 371aa61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pause-eco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ jobs:

- name: Définir la mise en veille de la sonde StatusCake à true
if: github.event.schedule == '0 20 * * 1-5'
run: |
echo "::set-env name=UPTIME_CHECK_PAUSED::true"
run: echo "UPTIME_CHECK_PAUSED=true" >> $GITHUB_ENV

- name: Définir la mise en veille de la sonde StatusCake à false
if: github.event.schedule == '0 6 * * 1-5'
run: |
echo "::set-env name=UPTIME_CHECK_PAUSED::false"
run: echo "UPTIME_CHECK_PAUSED=false" >> $GITHUB_ENV

- name: Mettre en pause ou relancer la sonde StatusCake
run: |
Expand Down

0 comments on commit 371aa61

Please sign in to comment.