diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 6cc2caa38..5a45229c2 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -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 \ No newline at end of file + run: flutter packages pub run sentry_dart_plugin \ No newline at end of file diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 32b816a90..a91aa5896 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -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 .. \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 06f23ff7c..2ac72c2a8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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