Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
Release:1.0.0.RC1 #1
Browse files Browse the repository at this point in the history
  • Loading branch information
M999JAD authored and M999JAD committed Oct 8, 2021
1 parent b5ea3ec commit 9cffe25
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,33 @@
# This is a basic workflow to help you get started with Actions
# A push on master will build, test and publish Jeka on OSSRH.
# Beside it will push the built documentation on the Jeka landing page.

name: CI
# If a tag is present on the last commit, Jeka will publish versioned artifacts according tag name on OSSRH public repo.
# If no tag is present, the built artifacts will be published to OSSRH snapshot repository.
# This logic is implemented within the Jeka build.

name: Java Build and Publish

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
branches: [ master ]
workflow_dispatch:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Jekaw
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PWD: ${{ secrets.OSSRH_PWD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
echo Add other actions to build,
echo test, and deploy your project.
cd ./dev.jeka.plugins.sonarqube
./jekaw java#pack java#publish

0 comments on commit 9cffe25

Please sign in to comment.