add description and quotation for svg icons #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build software | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| permissions: | |
| contents: write | |
| packages: write | |
| jobs: | |
| build-and-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '11' | |
| - name: Install Ant and gh CLI | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ant gh curl | |
| - name: Build data package (public) | |
| run: | | |
| ant -verbose -lib scripts/libs -Dproject.status=development dist | |
| echo "Build finished, listing dist:" | |
| ls -la dist || true | |
| - name: Find artifact | |
| id: find | |
| run: | | |
| ART=$(ls dist/raffArchive-*.xar 2>/dev/null | head -n1 || true) | |
| if [ -z "$ART" ]; then echo "No artifact found in dist" && exit 1; fi | |
| echo "artifact=$ART" >> $GITHUB_OUTPUT | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: portal-app-dev | |
| path: dist/raffArchive-*.xar | |
| retention-days: 90 |