mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
update workflow
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -79,6 +79,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "$STORE_FILE" | base64 --decode > android/keystore.jks
|
echo "$STORE_FILE" | base64 --decode > android/keystore.jks
|
||||||
echo "$PROPERTY_FILE" > android/key.properties
|
echo "$PROPERTY_FILE" > android/key.properties
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'oracle'
|
||||||
|
java-version: '17'
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter build apk --release
|
- run: flutter build apk --release
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
@@ -90,7 +94,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: install yq
|
- name: install yq
|
||||||
run: winget install --id MikeFarah.yq
|
run: choco install yq -y
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
@@ -98,13 +102,13 @@ jobs:
|
|||||||
architecture: x64
|
architecture: x64
|
||||||
- name: install inno setup
|
- name: install inno setup
|
||||||
run: |
|
run: |
|
||||||
winget install -h --id JRSoftware.InnoSetup -e -s winget
|
choco install innosetup -y
|
||||||
$inno_path = "C:\Users\$env:UserName\AppData\Local\Programs\Inno Setup 6"
|
$inno_path = "C:\Program Files (x86)\Inno Setup 6"
|
||||||
wget "https://raw.githubusercontent.com/kira-96/Inno-Setup-Chinese-Simplified-Translation/refs/heads/main/ChineseSimplified.isl" -OutFile "$inno_path\Languages\ChineseSimplified.isl"
|
wget "https://raw.githubusercontent.com/kira-96/Inno-Setup-Chinese-Simplified-Translation/refs/heads/main/ChineseSimplified.isl" -OutFile "$inno_path\Languages\ChineseSimplified.isl"
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
$inno_path = "C:\Users\$env:UserName\AppData\Local\Programs\Inno Setup 6"
|
$inno_path = "C:\Program Files (x86)\Inno Setup 6\"
|
||||||
$env:PATH += ";$inno_path"
|
$env:PATH += ";$inno_path"
|
||||||
python windows/build.py
|
python windows/build.py
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
Reference in New Issue
Block a user