diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 805364d..3ffc3b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,15 +19,15 @@ jobs: - name: Fetch Onkostar-API run: | - curl --user dnpm:${{ secrets.PACKAGE_TOKEN }} \ + curl -L --user dnpm:${{ secrets.PACKAGE_TOKEN }} \ https://git.dnpm.dev/api/packages/Plugin-JF-Onkostar/generic/onkostar-api/2.11.1.6/onkostar-api-2.11.1.6.jar \ - --output /home/runner/work/onkostar-plugin-dnpm/onkostar-plugin-dnpm/libs/onkostar-api-2.11.1.6.jar + --output ${{ github.workspace }}/libs/onkostar-api-2.11.1.6.jar - name: Fetch ATC-Codes-Plugin run: | - curl \ + curl -L \ https://github.com/CCC-MF/onkostar-plugin-atccodes/releases/download/v0.6.0/onkostar-plugin-atccodes-0.6.0.jar \ - --output /home/runner/work/onkostar-plugin-dnpm/onkostar-plugin-dnpm/libs/onkostar-plugin-atccodes-0.6.0.jar + --output ${{ github.workspace }}/libs/onkostar-plugin-atccodes-0.6.0.jar - name: Execute tests run: mvn --batch-mode verify \ No newline at end of file