Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanndroid committed Jul 11, 2022
2 parents c930db4 + 6977edd commit c2a6f4e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: New Release
on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Init values
id: values
run: |
version=$(grep -Po -m 1 '(?<=versionName ).*' ./app/build.gradle | tr -d \")
echo ::set-output name=name::Sudoku v$version
echo ::set-output name=tag::v$version
echo ::set-output name=apk::Sudoku_v$version
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_name: ${{ steps.values.outputs.name }}
tag_name: ${{ steps.values.outputs.tag }}
body: No changelog
- name: Add apk
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./app/release/app-release.apk
asset_name: ${{ steps.values.outputs.apk }}.apk
asset_content_type: application/vnd.android.package-archive
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sudoku
# <img align="left" loading="lazy" src="readme-res/icon.png" height="50"/> Sudoku
OneUI themed Sudoku game. Play and solve newly generated sudoku games with different difficulties. You can download and install the latest apk [here](https://github.com/Yanndroid/Sudoku/raw/master/app/release/app-release.apk), future updates can be done directly in the app.

<img loading="lazy" src="readme-res/1.png" height="350"/> <img loading="lazy" src="readme-res/2.png" height="350"/> <img loading="lazy" src="readme-res/3.png" height="350"/> <img loading="lazy" src="readme-res/4.jpg" height="350"/>
<img loading="lazy" src="readme-res/1.png" height="350"/> <img loading="lazy" src="readme-res/2.png" height="350"/> <img loading="lazy" src="readme-res/3.png" height="350"/> <img loading="lazy" src="readme-res/4.jpg" height="350"/>
Binary file added readme-res/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2a6f4e

Please sign in to comment.