-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
111 additions
and
7 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,36 @@ | ||
name: Build and Deploy site | ||
|
||
on: | ||
push: | ||
branches: [ stable ] | ||
|
||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'beta' | ||
run: flutter --version | ||
|
||
- name: Build Web | ||
run: | | ||
flutter config --enable-web | ||
flutter pub get | ||
flutter build web | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: build/web |
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,58 @@ | ||
name: Build and Release app | ||
|
||
on: | ||
push: | ||
branches: [ stable ] | ||
|
||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'beta' | ||
run: flutter --version | ||
|
||
- name: Build Windows | ||
run: | | ||
flutter config --enable-windows-desktop | ||
flutter pub get | ||
flutter build windows | ||
- name: Create zip | ||
run: | | ||
7z -tZip a exec\ExCode.zip build\windows\runner\Release\ | ||
- name : Build Android | ||
run : | | ||
flutter build apk | ||
flutter build appbundle | ||
- name : Move build files | ||
run : | | ||
mv build/app/outputs/flutter-apk/app-release.apk exec/excode.apk | ||
mv build/app/outputs/bundle/release/app-release.aab exec/excode.aab | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
# if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
name: ExCode | ||
tag_name: v0.0.1 | ||
prerelease: true | ||
generate_release_notes: true | ||
files: exec/* | ||
body_path: CHANGELOG.md | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GITHUB_REPOSITORY: dhzdhd/ExCode |
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,12 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## 0.0.1 / 15-04-2022 | ||
|
||
### Added | ||
|
||
- Initial release for Android, Windows and the web | ||
- Basic editor functionality | ||
- Execution support for 3 languages | ||
- Dark and Light themes |
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
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