Skip to content

Commit

Permalink
github-actions: add dummy imei number
Browse files Browse the repository at this point in the history
More info at:
ivanmeler/SamFirm_Reborn#15 (comment)
zacharee/SamloaderKotlin#116 (comment)

Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
  • Loading branch information
salvogiangri authored and ata-kaner committed May 27, 2024
1 parent cc3faf5 commit 07a27a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:

- name: Fetch firmware
if: env.need_update == 1
run: samfirm -m ${{ matrix.model }} -r ${{ matrix.region }}
run: |
if [[ "${{ matrix.model }}" == "SM-G780G" ]]; then
imei="358759461234568"
elif [[ "${{ matrix.model }}" == "SM-G781B" ]]; then
imei="355008378157675"
fi
samfirm -m ${{ matrix.model }} -r ${{ matrix.region }} -i $imei
- name: Get path of files
if: env.need_update == 1
Expand Down

0 comments on commit 07a27a5

Please sign in to comment.