diff --git a/.github/workflows/ant-release.yml b/.github/workflows/ant-release.yml index 783334314..eb7adb691 100644 --- a/.github/workflows/ant-release.yml +++ b/.github/workflows/ant-release.yml @@ -10,8 +10,5 @@ jobs: with: josm-revision: "r18877" java-version: 17 - env: - MAPILLARY_CLIENT_ID: ${{ secrets.MAPILLARY_CLIENT_ID }} - MAPILLARY_CLIENT_SECRET: ${{ secrets.MAPILLARY_CLIENT_SECRET }} - MAPILLARY_CLIENT_TOKEN: ${{ secrets.MAPILLARY_CLIENT_TOKEN }} + additional_build_args: "-DMAPILLARY_CLIENT_ID=${{ secrets.MAPILLARY_CLIENT_ID }} -DMAPILLARY_CLIENT_SECRET=${{ secrets.MAPILLARY_CLIENT_SECRET }} -DMAPILLARY_CLIENT_TOKEN=${{ secrets.MAPILLARY_CLIENT_TOKEN }}"