Skip to content

Commit

Permalink
Asetetaan itse timezone Europe/Helsinki
Browse files Browse the repository at this point in the history
  • Loading branch information
augustk committed Jan 24, 2025
1 parent 6db04f2 commit f716f2f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ jobs:
java-version: '11'
distribution: 'corretto'

- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Europe/Helsinki"
- name: Set timezone to Europe/Helsinki
run: |
sudo timedatectl
sudo apt install --reinstall tzdata
sudo dpkg-reconfigure tzdata
sudo timedatectl set-timezone Europe/Helsinki
sudo timedatectl
echo "sudo cat /etc/timezone"
sudo cat /etc/timezone
- name: Build Valintarekisteri Docker container
run: |
Expand All @@ -47,6 +53,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
run: |
sudo timedatectl
mvn -B clean package --settings settings.xml
- uses: actions/cache@v4
with:
Expand Down

0 comments on commit f716f2f

Please sign in to comment.