Addition of new version 1.2.1 for Modality plugin. (#675) #298
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Automation | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "*" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP Action | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '5.6' | |
tools: composer | |
- name: Prepare upload | |
run: ./prepare-upload.sh | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: '8' | |
cache: maven | |
- name: Maven tests | |
run: mvn -T 1C -Djava.awt.headless=true -Dmaven.test.redirectTestOutputToFile=true --fail-at-end --batch-mode org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report install | |
# working-directory: ./plugins/dummy | |
- name: Codecov | |
uses: codecov/[email protected] | |
- name: Perform upload | |
run: 'curl --fail -vk https://jmeter-plugins.org/unzip.php -F "zipfile=@upload/site.zip" -H "Authorization: Bearer ${{ secrets.UPLOAD_TOKEN }}"' | |
if: github.ref == 'refs/heads/master' | |