From f6310c71ee69bcebb7d721ffb8d5490fe357b3ad Mon Sep 17 00:00:00 2001 From: RatzzFatzz Date: Tue, 4 Feb 2025 00:52:09 +0100 Subject: [PATCH] Update github action --- .github/workflows/release.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aacf5b1..41889b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Build and release on: release: - types: [created] + types: [ created ] jobs: portable-build: @@ -15,6 +15,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set timezone + uses: szenius/set-timezone@v2.0 + with: + timezoneLinux: "Europe/Berlin" + - name: Set up JDK 21 uses: actions/setup-java@v4.7.0 with: @@ -35,16 +40,23 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'artifacts/M*' - + windows-installer-build: runs-on: windows-latest steps: - name: Install mkvtoolnix - run: winget install -y mkvtoolnix + uses: crazy-max/ghaction-chocolatey@v3 + with: + args: choco install mkvtoolnix -y - name: Checkout uses: actions/checkout@v4 + - name: Set timezone + uses: szenius/set-timezone@v2.0 + with: + timezoneWindows: "Berlin Standard Time" + - name: Set up JDK 21 uses: actions/setup-java@v4.7.0 with: