Skip to content

Bump version to 0.1.7 #13

Bump version to 0.1.7

Bump version to 0.1.7 #13

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
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "./**/*.apk,./**/*.apks"