Make sure generated files don't change during build.

This commit is contained in:
Dain Nilsson 2022-04-04 15:43:04 +02:00
parent 400f39e492
commit 608ba51017
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
3 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,9 @@ jobs:
- name: Build the app
run: flutter build linux
- name: Check generated files
run: git diff --exit-code
- name: Rename and archive app
run: |
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)

View File

@ -39,6 +39,9 @@ jobs:
- name: Build the app
run: flutter build macos
- name: Check generated files
run: git diff --exit-code
- name: Rename and archive app bundle
run: |
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)

View File

@ -38,6 +38,9 @@ jobs:
- name: Build the app
run: flutter build windows
- name: Check generated files
run: git diff --exit-code
- name: Move .dll files
run: |
$dest = "build\windows\runner\Release"