Skip to content

Commit for creating tag v0.0.20 #57

Commit for creating tag v0.0.20

Commit for creating tag v0.0.20 #57

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "check out the repo"
uses: actions/checkout@v3
- name: "Test"
run: |
make test
- name: "make release"
if: startsWith(github.ref, 'refs/tags/v')
run: |
sudo make install-dependencies
make init
make archive REPOSITORY_NAME=${{ github.event.repository.name }}
- name: "make package"
if: startsWith(github.ref, 'refs/tags/v')
run: |
mvn -B -DnewVersion=v$(cat doc/VERSION) -DgenerateBackupPoms=false versions:set
mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.REPO_LOGIN }}
MAVEN_PASSWORD: ${{ secrets.REPO_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: lib/${{ github.event.repository.name }}.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}