Skip to content

Commit

Permalink
Switch to auto releases
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jul 9, 2024
1 parent 844fc56 commit 7616a87
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/ant-release.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,24 @@ jobs:
with:
josm-revision: ${{ matrix.josm-revision }}
java-version: 17
perform-revision-tagging: ${{ matrix.josm-revision == 'r18877' && github.repository == 'JOSM/Mapillary' && github.ref_type == 'branch' && github.ref_name == 'master' && github.event_name != 'schedule' && github.event_name != 'pull_request' }}

add-mapillary-keys:
runs-on: ubuntu
needs: call-workflow
if: needs.call-workflow.outputs.tag
steps:
- name: Get Mapillary jar
run: gh release download ${{ needs.call-workflow.outputs.tag }} --pattern Mapillary.jar
- name: Add keys
run: |
cat <<EOF > mapillary_api_keys.json
{
"MAPILLARY_CLIENT_ID": "${real_MAPILLARY_CLIENT_ID}",
"MAPILLARY_CLIENT_TOKEN": "${real_MAPILLARY_CLIENT_TOKEN}",
"MAPILLARY_CLIENT_SECRET": "${real_MAPILLARY_CLIENT_SECRET}"
}
EOF
zip Mapillary.jar mapillary_api_keys.json
- name: Upload Mapillary jar
run: gh release upload ${{ needs.call-workflow.outputs.tag }} --clobber Mapillary.jar

0 comments on commit 7616a87

Please sign in to comment.