Skip to content

Commit

Permalink
fix: edit workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
UrijHoruzij committed Jan 9, 2023
1 parent 260d9ce commit 05747b1
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npx semantic-release

release:
name: Release
release-win:
name: Release win
runs-on: windows-latest
steps:
- name: Checkout
Expand All @@ -45,3 +45,23 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish-win-app

release-linux:
name: Release win
runs-on: ubuntu-latest
needs: [release-win]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: yarn install
- name: Build
run: npm run build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish-linux-app

0 comments on commit 05747b1

Please sign in to comment.