Skip to content

Commit

Permalink
ci: add github token and changes to always
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Nov 6, 2024
1 parent bc95a0a commit f37a521
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 62 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Create packages

on:
workflow_dispatch:
# push:
# tags:
# - '*'
push:
tags:
- '*'

jobs:
build:
Expand All @@ -17,6 +17,7 @@ jobs:
CSC_IDENTITY_AUTO_DISCOVERY: true
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +31,7 @@ jobs:
- name: Build electron app
run: npm run build:electron
- name: build package
run: npx electron-builder build --x64 --arm64 --publish never
run: npx electron-builder build --x64 --arm64 --publish always
- name: Upload built packages
uses: actions/upload-artifact@v4
with:
Expand Down
22 changes: 0 additions & 22 deletions ci-jobs/package.yml

This file was deleted.

36 changes: 0 additions & 36 deletions ci-jobs/templates/package.yml

This file was deleted.

0 comments on commit f37a521

Please sign in to comment.