Skip to content

Bump actions/upload-artifact from 4.3.3 to 4.3.4 #127

Bump actions/upload-artifact from 4.3.3 to 4.3.4

Bump actions/upload-artifact from 4.3.3 to 4.3.4 #127

Workflow file for this run

name: Test sharpen-action
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Convert test project to C#
uses: javiertuya/sharpen-action@main
with:
working-dir: 'test'
project-dir: 'src/main/java'
sharpen-args: '@sharpen-all-options.txt'
- name: Test converted files
run: cd test && mvn test --no-transfer-progress -Dmaven.test.failure.ignore=true
- name: Publish test report
if: always()
uses: mikepenz/[email protected]
with:
check_name: test-report
report_paths: '**/target/surefire-reports/TEST-*.xml'
fail_on_failure: 'true'
- name: Publish converted sources & test report files
if: always()
uses: actions/[email protected]
with:
name: converted sources & test reports
path: |
test/src/main/main.net
test/target/*.html
test/target/surefire-reports