diff --git a/.github/workflows/create-github-release.yml b/.github/workflows/create-github-release.yml index 9676af2..6a1c181 100644 --- a/.github/workflows/create-github-release.yml +++ b/.github/workflows/create-github-release.yml @@ -29,18 +29,10 @@ jobs: fetch-depth: 0 submodules: recursive - - name: Copy all files to /tmp/build - run: | - mkdir -p /tmp/build - cp -R . /tmp/build - working-directory: /tmp/build - - name: Set FLUTTER_ROOT environment variable and build dir run: echo "FLUTTER_ROOT=$(pwd)/flutter/bin" >> $GITHUB_ENV - working-directory: /tmp/build - run: $FLUTTER_ROOT/flutter doctor -v - working-directory: /tmp/build - name: Setup signing config uses: ./.github/actions/setup-android-signing-config @@ -55,16 +47,15 @@ jobs: run: | bash ./scripts/install_dependencies_with_submodule.sh bash ./scripts/update_changelogs.sh - working-directory: /tmp/build - name: Setup Fastlane uses: ruby/setup-ruby@v1 with: ruby-version: "2.6" bundler-cache: true - working-directory: /tmp/build/android + working-directory: android - run: bundle exec fastlane github branch:${{ steps.extract_branch.outputs.branch }} is_draft:${{ github.event.inputs.is_draft }} env: GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} - working-directory: /tmp/build/android + working-directory: android