Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ permissions:

jobs:
build:
env:
TF_WORKSPACE: test
runs-on: ubuntu-latest

steps:
Expand All @@ -32,6 +34,12 @@ jobs:
java-version: '11'
distribution: 'temurin'

- name: Override
run: echo "TF_WORKSPACE=test2" >> $GITHUB_ENV

- name: Test
run: echo "${{ env.TF_WORKSPACE }}"

- name: Run Tests
run: ./gradlew test

Expand Down Expand Up @@ -59,12 +67,14 @@ jobs:
fi

- name: Push changes
if: ${{ github.event_name == 'push' }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_TOKEN }}
branch: ${{ github.ref }}

- name: Upload JaCoCo coverage report
if: ${{ github.event_name == 'push' }}
uses: actions/upload-artifact@v2
with:
name: jacoco-report
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@ jobs:
triggered: ${{ steps.set-outputs.outputs.triggered }}
status_ok: ${{ steps.set_status.outputs.status_ok }}
steps:
- name: Input
run: npx swagger-merger

- name: Set GitHub outputs
id: set-outputs
run: |
echo 'Test step executed'
echo "triggered=true" >> $GITHUB_OUTPUT
echo 'CONCLUSION=${{ env.WORKFLOW_CONCLUSION }}'
echo "${{ github.event_name }}"
echo "${{ github.head_ref }}"
echo "${{ github.ref_name }}"
# exit 1
# echo "OUTPUT=${{ steps. }}" >> $GITHUB_OUTPUT
- name: 'Test step 2'
Expand Down