This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added experimental automatic builds workflow
- Loading branch information
1 parent
32d4ee7
commit b6b3f58
Showing
4 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build App | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Change this to your main branch name | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
|
||
- name: Install Dependencies | ||
run: npm install # Adjust this based on your project's dependencies | ||
|
||
- name: Build for Mac | ||
run: ./build mac | ||
|
||
- name: Build for Linux | ||
run: ./build linux | ||
|
||
- name: Build for Windows | ||
run: ./build win | ||
|
||
- name: Build for All Platforms | ||
run: ./build all | ||
|
||
- name: Archive Artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: builds | ||
path: | | ||
dist/mac_* | ||
dist/linux_* | ||
dist/win_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/bash | ||
# This file patches some dev environement things | ||
|
||
sed -i '' 's/http:\/\/localhost:[0-9]*//g' svelte/index.html | ||
sed -i '' 's/http:\/\/localhost:[0-9]*//g' svelte/index.html | ||
echo -e "\x1b[32;1mPatched 'svelte/index.html\x1b[0m'" | ||
rm -rf dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters