Skip to content

Bump version to 1.0.15 #37

Bump version to 1.0.15

Bump version to 1.0.15 #37

Workflow file for this run

name: DNSNet Publish
on:
push:
tags:
- '*'
jobs:
publish:
if: ${{ github.repository == 't895/DNSNet' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Give execution permissions to the gradle wrapper
run: chmod +x ./gradlew
- name: Build
env:
KEY_ALIAS: ${{secrets.KEY_ALIAS}}
KEY_PASSWORD: ${{secrets.KEY_PASSWORD}}
STORE_PASSWORD: ${{secrets.KEY_PASSWORD}}
run: |
echo "${{secrets.STORE_FILE}}" | base64 --decode > ${HOME}/keyfile.jks
export STORE_FILE_PATH=${HOME}/keyfile.jks
./gradlew :app:assembleRelease
./gradlew :app:buildApksRelease
./gradlew :app:bundleRelease
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "./**/app-release.apk,./**/app-release.apks,./**/app-release.aab"