Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Feb 26, 2024
1 parent c52c97c commit 986c1c2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Package app
on:
push:
branches:
- main # Change this to your main branch name
- main

jobs:
build:
Expand All @@ -19,7 +19,7 @@ jobs:
node-version: 18

- name: Install Dependencies
run: npm ci # Adjust this based on your project's dependencies
run: npm ci

- name: Build app
run: npm run build
Expand All @@ -34,25 +34,29 @@ jobs:
- name: Upload (linux_arm64)
uses: actions/upload-artifact@v4
with:
name: AutoEvent_linux_arm64
name: ${{ env.GITHUB_REPOSITORY }}_linux_arm64
path: dist/linux_arm64.zip

- name: Upload (linux_armhf)
uses: actions/upload-artifact@v4
with:
name: AutoEvent_linux_armhf
name: ${{ env.GITHUB_REPOSITORY }}_linux_armhf
path: dist/linux_armhf.zip

- name: Upload (linux_x64)
uses: actions/upload-artifact@v4
with:
name: AutoEvent_linux_x64
name: ${{ env.GITHUB_REPOSITORY }}_linux_x64
path: dist/linux_x64.zip

- name: Upload (mac_universal)
uses: actions/upload-artifact@v4
with:
name: AutoEvent_mac_universal
name: ${{ env.GITHUB_REPOSITORY }}_mac_universal
path: dist/mac_universal.zip

- name: Upload (win_x64)
uses: actions/upload-artifact@v4
with:
name: AutoEvent_win_x64
path: dist/win_x64.zip
name: ${{ env.GITHUB_REPOSITORY }}_win_x64
path: dist/win_x64.zip

0 comments on commit 986c1c2

Please sign in to comment.