and updated actions to latest version
This commit is contained in:
parent
2aeebacab8
commit
0786279e98
3 changed files with 26 additions and 17 deletions
14
.github/workflows/main_deploy.yaml
vendored
14
.github/workflows/main_deploy.yaml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
run: ./scripts/build-web.sh
|
||||
|
||||
- name: Upload files
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: web
|
||||
path: build/web
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
environment: staging
|
||||
steps:
|
||||
- name: Download web
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: web
|
||||
path: build/web
|
||||
|
|
@ -75,17 +75,11 @@ jobs:
|
|||
with:
|
||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||
- name: Download web
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: web
|
||||
path: build/web
|
||||
- name: Update packages
|
||||
run: flutter pub get
|
||||
- name: Update sentry
|
||||
run: flutter packages pub run sentry_dart_plugin
|
||||
|
||||
deploy_ios_testflight: # stashed on old.yml
|
||||
environment: staging
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
run: flutter packages pub run sentry_dart_plugin
|
||||
17
.github/workflows/manual.yml
vendored
17
.github/workflows/manual.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
environment:
|
||||
type: environment
|
||||
description: Select the environment
|
||||
new_release_notes:
|
||||
required: true
|
||||
type: string
|
||||
description: "The release notes for the new release (Unused atm)"
|
||||
|
||||
jobs:
|
||||
deploy_playstore_internal:
|
||||
|
|
@ -57,6 +61,8 @@ jobs:
|
|||
- name: Build Android Release
|
||||
run: flutter build appbundle --target-platform android-arm,android-arm64,android-x64
|
||||
- name: Deploy Android Release
|
||||
env:
|
||||
RELEASE_NOTES: ${{ inputs.new_release_notes }}
|
||||
run: |
|
||||
mkdir -p build/android
|
||||
cp build/app/outputs/bundle/release/app-release.aab build/android/
|
||||
|
|
@ -69,4 +75,13 @@ jobs:
|
|||
else
|
||||
bundle exec fastlane deploy_release
|
||||
fi
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
deploy_ios_testflight: # stashed on old.yml
|
||||
environment:
|
||||
name: ${{ inputs.environment }}
|
||||
env:
|
||||
WEB_APP_ENV: ${{ vars.WEB_APP_ENV }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
|
|
@ -49,12 +49,12 @@ jobs:
|
|||
- name: Create archive
|
||||
run: tar -czf pangeachat-web.tar.gz build/web/
|
||||
- name: Upload Web Build
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Web Build
|
||||
path: pangeachat-web.tar.gz
|
||||
- name: Upload files for deploy stage
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: web
|
||||
path: build/web
|
||||
|
|
@ -130,7 +130,7 @@ jobs:
|
|||
arch: [ x64, arm64 ]
|
||||
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get update && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libssl-dev libwebkit2gtk-4.1-dev -y
|
||||
|
|
@ -162,9 +162,9 @@ jobs:
|
|||
WEBAPP_S3_BUCKET: ${{ vars.WEBAPP_S3_BUCKET }}
|
||||
CF_DISTRIBUTION_ID: ${{ vars.CF_DISTRIBUTION_ID }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download web
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: web
|
||||
path: build/web
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue