mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
ci: run pr build only from latest commit (#306)
This commit is contained in:
@@ -6,6 +6,10 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test_image:
|
||||
permissions:
|
||||
|
||||
@@ -96,6 +96,7 @@ jobs:
|
||||
run: |
|
||||
echo "COMMIT_MESSAGE=chore: update flutter dependencies in version.json for ${{ env.FLUTTER_VERSION }}" >> $GITHUB_ENV
|
||||
|
||||
# TODO: Generate changelog for the new flutter version, that will be the new tag
|
||||
- name: Create pull request if there are changes
|
||||
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284 # v7.0.7
|
||||
with:
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
# TODO: Add image registry URLs to the release changelog
|
||||
|
||||
npx git-cliff -t 3.29.1 -c github-keepachangelog -o changelog.md
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# TODO: Update all versions used in android.yml from version.json, like NDK, CMake, etc.
|
||||
|
||||
# Path to the JSON and YAML files
|
||||
version_file_path="./config/version.json"
|
||||
test_file_path="./test/android.yml"
|
||||
|
||||
@@ -31,6 +31,12 @@ commandTests:
|
||||
- /home/flutter/sdks/android-sdk/ndk
|
||||
expectedOutput:
|
||||
- 26.3.11579264
|
||||
- name: CMake is pinned
|
||||
command: ls
|
||||
args:
|
||||
- /home/flutter/sdks/android-sdk/cmake
|
||||
expectedOutput:
|
||||
- 3.22.1
|
||||
- name: Android SDK build tools directory only has one directory
|
||||
command: bash
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user