Skip to content

Commit 90e3621

Browse files
committed
feat: update workflow
1 parent 4ee66cf commit 90e3621

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/android.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: get_sha
3838
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3939

40-
- name: Inject download link to README
40+
- name: Inject download link to readme.md
4141
run: |
4242
echo "## 🔗 Latest APK (Release)" > latest-apk.md
4343
echo "" >> latest-apk.md
@@ -47,13 +47,13 @@ jobs:
4747
echo '<img src="https://user-images.githubusercontent.com/663460/26973090-f8fdc986-4d14-11e7-995a-e7c5e79ed925.png" width="200"/>' >> latest-apk.md
4848
echo '</a>' >> latest-apk.md
4949
echo "" >> latest-apk.md
50-
awk '/<!-- APK-DOWNLOAD -->/ { print; system("cat latest-apk.md"); next } 1' README.md > tmp && mv tmp README.md
50+
awk '/<!-- APK-DOWNLOAD -->/ { print; system("cat latest-apk.md"); next } 1' readme.md > tmp && mv tmp readme.md
5151
52-
- name: Commit updated README.md
52+
- name: Commit updated readme.md
5353
uses: EndBug/add-and-commit@v9
5454
with:
55-
message: "Update README with release APK link"
56-
add: "README.md"
55+
message: "Update readme.md with release APK link"
56+
add: "readme.md"
5757
branch: main
5858
env:
59-
GITHUB_TOKEN: ${{ secrets.TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)