Always run the package step in test-build workflow

This commit is contained in:
Arpit Mohan 2021-10-05 12:47:05 +05:30
parent f8ef495e4c
commit 9381b4e8fb

View File

@ -133,8 +133,8 @@ jobs:
buildServer: buildServer:
defaults: defaults:
run: run:
working-directory: app/server working-directory: app/server
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Only run this workflow for internally triggered events # Only run this workflow for internally triggered events
if: | if: |
@ -162,7 +162,6 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
# Setup Java # Setup Java
- name: Set up JDK 1.11 - name: Set up JDK 1.11
uses: actions/setup-java@v1 uses: actions/setup-java@v1
@ -513,7 +512,7 @@ jobs:
# Run this job irrespective of tests failing, if this is the release branch; or only if the tests pass, if this is the master branch. # Run this job irrespective of tests failing, if this is the release branch; or only if the tests pass, if this is the master branch.
#if: (success() && github.ref == 'refs/heads/master') || github.ref == 'refs/heads/release' #if: (success() && github.ref == 'refs/heads/master') || github.ref == 'refs/heads/release'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' if: always() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release')
steps: steps:
# Checkout the code # Checkout the code