configurator: Release version to 1.0.1 #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package to the Github Packages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- name: Checkout dev branch | |
uses: actions/checkout@v4 | |
with: | |
ref: 'dev' | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Generate and submit dependency graph | |
uses: gradle/actions/dependency-submission@v3 | |
- name: Checkout main branch | |
uses: actions/checkout@v4 | |
with: | |
ref: 'main' | |
- name: Publish package | |
run: ./gradlew publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
IS_CI: "true" |