Skip to content

Commit

Permalink
chore: fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Revyn112 committed Oct 25, 2024
1 parent c0cbb57 commit 1f875ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
# Prevent running this on forks
if: github.repository_owner == 'headwindsim'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MAIN_PRE_RELEASE_ID: 101378539
MAIN_PRE_RELEASE_TAG: vmain
Expand All @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.9'
node-version: '20.9'
- name: Create .sentrydsn file
run: |
echo ${{ secrets.SENTRY_DSN_INSTALLER }} >> ./extraResources/.sentrydsn
Expand All @@ -29,13 +29,8 @@ jobs:
run: npm ci

- name: Install system requirements
run: |
sudo eatmydata apt-get install ppa-purge
sudo eatmydata ppa-purge -y ppa:ubuntu-toolchain-r/test
sudo dpkg --add-architecture i386
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive eatmydata apt install -y --no-install-recommends wine-stable wine32 wine64
run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 && sudo apt-get install -y wine32 wine64

- name: Package installer
run: |
npm run package && rm -rf ./dist/win-unpacked/
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Prevent running this on forks
if: github.repository_owner == 'headwindsim'
name: Upload Release Asset
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ASSET_PATH: dist/Headwind_Installer_Setup.exe
ASSET_DIRECTORY: dist/
Expand All @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.9'
node-version: '20.9'

- name: Create .sentrydsn file
run: |
Expand All @@ -30,13 +30,7 @@ jobs:
run: npm ci

- name: Install system requirements
run: |
sudo eatmydata apt-get install ppa-purge
sudo eatmydata ppa-purge -y ppa:ubuntu-toolchain-r/test
sudo dpkg --add-architecture i386
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive eatmydata apt install -y --no-install-recommends wine-stable wine32 wine64
run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 && sudo apt-get install -y wine32 wine64

- name: Package installer
run: |
Expand Down

0 comments on commit 1f875ce

Please sign in to comment.