Skip to content

Commit

Permalink
chore(ci): passthrough token
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Mar 4, 2022
1 parent 9a0e41b commit 8fe6fbf
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build revolt
name: Build Packages

on:
push:
Expand All @@ -22,7 +22,6 @@ jobs:
yarn build:bundle
yarn build:linux:tar --publish never
yarn build:linux:appimage --publish never
yarn ci
- name: Pack Build Files
run: |
mkdir ~/Revolt-linux-AppImage
Expand Down Expand Up @@ -55,7 +54,6 @@ jobs:
yarn build:bundle
yarn build:windows:nsis --publish never
yarn build:windows:appx --publish never
yarn ci
- name: Pack Build Files
run: |
mkdir D:\a\desktop\Revolt-windows
Expand Down Expand Up @@ -87,7 +85,6 @@ jobs:
run: |
yarn build:bundle
yarn build:mac --publish never
yarn ci
- name: Pack Build Files
run: |
mkdir ~/Revolt-macOS
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Publish Packages

on:
push:
branches: [ master ]

workflow_dispatch:

jobs:
publish-linux:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Yarn
run: yarn install
- name: Build For Linux
id: build-linux
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
yarn build:bundle
yarn ci
publish-windows:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Enable Developer Command Prompt
uses: ilammy/[email protected]
- name: Install Yarn
run: yarn install
- name: Build For Windows
id: build-windows
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
yarn build:bundle
yarn ci
publish-macos:

runs-on: macos-11

steps:
- uses: actions/checkout@v2
- name: Install Yarn
run: yarn install
- name: Build For macOS
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
yarn build:bundle
yarn ci
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function createWindow() {
width: mainWindowState.width,
height: mainWindowState.height,

minWidth: 480,
minWidth: 300,
minHeight: 300
})

Expand Down

0 comments on commit 8fe6fbf

Please sign in to comment.