diff --git a/.github/workflows/debug-build.yml b/.github/workflows/debug-build.yml index ea99d60..4d7a323 100644 --- a/.github/workflows/debug-build.yml +++ b/.github/workflows/debug-build.yml @@ -35,7 +35,7 @@ jobs: steps: # Checkout - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 1 persist-credentials: false diff --git a/.github/workflows/mirror-to-gitlab.yml b/.github/workflows/mirror-to-gitlab.yml index 9190fb4..9b7bd9a 100644 --- a/.github/workflows/mirror-to-gitlab.yml +++ b/.github/workflows/mirror-to-gitlab.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Push to GitLab run: | git remote add gitlab https://oauth2:${{ secrets.GITLAB_PAT }}@gitlab.com/RajnishKMehta/DhwaniControl.git - git push gitlab main \ No newline at end of file + git push gitlab main diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 9823bbb..cbfee97 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -38,7 +38,7 @@ jobs: steps: # Checkout - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -141,6 +141,16 @@ jobs: mkdir -p .keystore echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > .keystore/release.jks + # Download & convert author avatar + - name: Update author avatar + if: steps.tag_check.outputs.exists == 'false' + run: | + sudo apt-get update -y + sudo apt-get install -y webp + + curl -sL "https://avatars.githubusercontent.com/u/172272341?s=460" -o /tmp/author.png + cwebp -q 95 /tmp/author.png -o app/src/main/res/drawable/author.webp + # Build signed APK - name: Build release APK if: steps.tag_check.outputs.exists == 'false'