Skip to content

test/tymofii - test changelogs #25

test/tymofii - test changelogs

test/tymofii - test changelogs #25

# This is a basic workflow to help you get started with Actions
name: Liquibase_Maven_GitHub-Hosted
on: [push]
# For more control over when the action will run, comment out (or delete) the above and trigger the workflow on master-branch push or pull request
# by uncommenting the appropriate section below.
# on:
# workflow_dispatch:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains jobs called "LBJobMaven"
LBJobMaven:
# 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:
- name: RunLiquibaseMavenCommands
uses: actions/checkout@v2
- run: |
cd extra/SalesManager_h2_version
mvn -version
mvn clean package
#Uncomment the line below to save changes. Also, see environment variables under "env" and assign variables accordingly
#git config --global user.email $user.email; git config --global user.name $user.name; git config pull.rebase false; git add .; git commit -m $"message"; git push -u origin $branch
mvn liquibase:status -Dliquibase.verbose
mvn liquibase:updateTestingRollback
env:
user.email: "<email>"
user.name: "<user name>"
message: "<commit message>"
branch: "<branch name>"