From 57ee434ff6fa850b1fc6e49f51e6539b4bfc72eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sat, 27 Apr 2024 16:44:08 +0200 Subject: [PATCH] wip: check all changed files use proper app --- .github/workflows/dependencies.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index dfd56085..6cb207c3 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -16,6 +16,20 @@ jobs: - name: Verify build.gradle changed id: changeDetection run: echo "should-run=true" >> $GITHUB_OUTPUT + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v44 + # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g + # with: + # since_last_remote_commit: true + + - name: List all changed files + env: + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + run: | + for file in ${ALL_CHANGED_FILES}; do + echo "$file was changed" + done verify-dependencies: runs-on: ubuntu-latest @@ -58,7 +72,7 @@ jobs: mv apktool* repo/lib/radar/tool chmod u+x repo/lib/radar/tool/apktool mv repo/lib/radar/tool/apktool_$apktoolVersion.jar repo/lib/radar/tool/apktool.jar - repo/bin/scanapk.php app/build/outputs/apk/oss/debug/roundsync_v*?(-beta)-oss-universal-debug.apk + repo/bin/scanapk.php app/build/outputs/apk/oss/debug/roundsync_v*-oss-universal-debug.apk env: apktoolVersion: "2.9.3" - name: 'Get Commit Hash'