Skip to content

Commit

Permalink
Updated workflow to run in the America/Toronto
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Dec 27, 2024
1 parent 6d0b2ef commit a48457e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/custom-crawl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set Timezone
run: |
sudo apt-get update
sudo apt-get install -y tzdata
echo "America/Toronto" | sudo tee /etc/timezone
sudo ln -sf /usr/share/zoneinfo/America/Toronto /etc/localtime
sudo dpkg-reconfigure -f noninteractive tzdata
- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ runs:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set Timezone
run: |
sudo apt-get update
sudo apt-get install -y tzdata
echo "America/Toronto" | sudo tee /etc/timezone
sudo ln -sf /usr/share/zoneinfo/America/Toronto /etc/localtime
sudo dpkg-reconfigure -f noninteractive tzdata
shell: bash

- name: Check mode requirements
run: |
if [[ "${{ inputs.mode }}" == "fetch" || "${{ inputs.mode }}" == "fetch-push" ]]; then
Expand Down

0 comments on commit a48457e

Please sign in to comment.