diff --git a/.github/workflows/trigger-increment-workflow.yml b/.github/workflows/trigger-increment-workflow.yml index f0454838..2a7f9541 100644 --- a/.github/workflows/trigger-increment-workflow.yml +++ b/.github/workflows/trigger-increment-workflow.yml @@ -2,30 +2,17 @@ name: Trigger increment action in webapp-server on: push: - branches-ignore: - - '!integration' tags: - v* jobs: - trigger_build: + build: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v2 - with: - submodules: true - - name: Set up JDK 1.11 - uses: actions/setup-java@v1 - with: - java-version: 1.11 - - name: Create workflow dispatch - uses: actions/github-script@v6 - with: - github-token: ${{ secrets.WORKFLOW_TOKEN }} - script: | - await github.rest.actions.createWorkflowDispatch({ - owner: 'veraPDF', - repo: 'verapdf-webapp-server', - workflow_id: 'version-auto-increment.yml', - ref: 'master' - }) + - name: Checkout the branch + uses: actions/checkout@v3 + + - name: Build and run Docker Image + run: + echo ${${{ github.ref_name }}##*.}