Skip to content

Commit

Permalink
.github: main.yaml debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
danielratiu committed Nov 20, 2024
1 parent 0d09da8 commit 11b5db3
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,35 +38,35 @@ jobs:
xvfb-run ./gradlew package_fasten_safety_distribution_win build_all_languages check \
-Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
- name: Publish test report
uses: mikepenz/action-junit-report@v4
if: ${{ !cancelled() }}
with:
fail_on_failure: true
require_tests: true
report_paths: 'build/**/TEST*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run migrations
run: |
./gradlew migrate remigrate -x build_all_languages \
-Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
- name: Check for dirty files
run: |
if [[ -n $(git status --porcelain | head --lines=1) ]]
then
echo "Dirty files detected after build/migration, run './gradlew migrate remigrate' and/or update .gitignore to fix:"
git status
echo "::group::git diff"
git diff
echo "::endgroup::"
exit 1
fi
#- name: Publish test report
# uses: mikepenz/action-junit-report@v4
# if: ${{ !cancelled() }}
# with:
# fail_on_failure: true
# require_tests: true
# report_paths: 'build/**/TEST*.xml'
# github_token: ${{ secrets.GITHUB_TOKEN }}

#- name: Run migrations
# run: |
# ./gradlew migrate remigrate -x build_all_languages \
# -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}

#- name: Check for dirty files
# run: |
# if [[ -n $(git status --porcelain | head --lines=1) ]]
# then
# echo "Dirty files detected after build/migration, run './gradlew migrate remigrate' and/or update .gitignore to fix:"
# git status
# echo "::group::git diff"
# git diff
# echo "::endgroup::"
# exit 1
# fi

- name: List all zip files
run: |
ls -lr | grep zip
ls -lr
- name: Upload distribution
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 11b5db3

Please sign in to comment.