Skip to content

Commit

Permalink
Most of the publishing script
Browse files Browse the repository at this point in the history
I'm being a bit lazy since publishing is a pain
  • Loading branch information
t895 committed Sep 16, 2024
1 parent 68b1b21 commit e4673f5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: DNSNet Publish

on:
workflow_dispatch:

jobs:
publish:
if: ${{ github.repository == 't895/DNSNet' }}
runs-on: ubuntu-latest
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
run: ./gradlew :app:assembleRelease

0 comments on commit e4673f5

Please sign in to comment.