diff --git a/.github/workflows/package-prod.yml b/.github/workflows/package-prod.yml deleted file mode 100644 index 99f9bc94..00000000 --- a/.github/workflows/package-prod.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Package-prod - -on: - push: - branches: [ "master"] - paths-ignore: - - target/** - - pull_request: - branches: [ "master" ] - paths-ignore: - - target/** - -env: - ENV_VAR: prod - -jobs: - Package-prod: - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup JDK 8 - uses: actions/setup-java@v2 - with: - java-version: 8 - distribution: 'adopt' - - - name: Build with Maven - run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }} - - - name: Create WAR file - run: mvn -B package --file pom.xml - - - name: Upload WAR file as artifact - uses: actions/upload-artifact@v2 - with: - name: TM-API - path: target/tmapi-v1.0.war