Skip to content

Commit

Permalink
publish win32 from linux runner
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Jun 19, 2023
1 parent 93ae510 commit 4d102a9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,23 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install libavahi-compat-libdnssd-dev
sudo apt-get install wine64
- name: install dependencies
run: yarn install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
OPENSUBTITLES_API_KEY: ${{ secrets.OPENSUBTITLES_API_KEY }}
run: touch '.env'; echo "OPENSUBTITLES_API_KEY = $OPENSUBTITLES_API_KEY" > .env; yarn run publish
run: yarn run publish
- if: matrix.os == 'ubuntu-latest'
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
run: yarn run publish --platform=win32

0 comments on commit 4d102a9

Please sign in to comment.