Redo changes
This commit is contained in:
@@ -10,25 +10,14 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install jq
|
- name: Install Flutter (wget)
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
wget -q --show-progress https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
|
||||||
apt-get install -y jq
|
tar xf flutter_linux_3.38.2-stable.tar.xz
|
||||||
|
# Set Git safe directory for Flutter path
|
||||||
- name: Set up Flutter
|
git config --global --add safe.directory "$(pwd)/flutter"
|
||||||
uses: subosito/flutter-action@v2
|
# Set Flutter path
|
||||||
with:
|
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
|
||||||
channel: stable
|
|
||||||
flutter-version: 3.38.6
|
|
||||||
|
|
||||||
# - name: Install Flutter (wget)
|
|
||||||
# run: |
|
|
||||||
# wget --progress=dot:giga https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
|
|
||||||
# tar xf flutter_linux_3.38.2-stable.tar.xz
|
|
||||||
# # Set Git safe directory for Flutter path
|
|
||||||
# git config --global --add safe.directory "$(pwd)/flutter"
|
|
||||||
# # Set Flutter path
|
|
||||||
# echo "$(pwd)/flutter/bin" >> $GITEA_PATH
|
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
@@ -49,12 +38,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Flutter (wget)
|
- name: Install Flutter (wget)
|
||||||
run: |
|
run: |
|
||||||
wget --progress=dot:giga https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
|
wget -q --show-progress https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
|
||||||
tar xf flutter_linux_3.38.2-stable.tar.xz
|
tar xf flutter_linux_3.38.2-stable.tar.xz
|
||||||
# Set Git safe directory for Flutter path
|
# Set Git safe directory for Flutter path
|
||||||
git config --global --add safe.directory "$(pwd)/flutter"
|
git config --global --add safe.directory "$(pwd)/flutter"
|
||||||
# Set Flutter path
|
# Set Flutter path
|
||||||
echo "$(pwd)/flutter/bin" >> $GITHUB_PATH
|
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
# Set Git safe directory for Flutter path
|
# Set Git safe directory for Flutter path
|
||||||
git config --global --add safe.directory "$(pwd)/flutter"
|
git config --global --add safe.directory "$(pwd)/flutter"
|
||||||
# Set Flutter path
|
# Set Flutter path
|
||||||
echo "$(pwd)/flutter/bin" >> $GITHUB_PATH
|
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
# Set Git safe directory for Flutter path
|
# Set Git safe directory for Flutter path
|
||||||
git config --global --add safe.directory "$(pwd)/flutter"
|
git config --global --add safe.directory "$(pwd)/flutter"
|
||||||
# Set Flutter path
|
# Set Flutter path
|
||||||
echo "$(pwd)/flutter/bin" >> $GITHUB_PATH
|
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
Update-Version:
|
Update-Version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Format
|
needs: Format
|
||||||
if: github.ref == 'refs/heads/development'
|
if: gitea.ref == 'refs/heads/development'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user