1 name: "Release packaging"
11 runs-on: ubuntu-latest
13 - uses: actions/checkout@v2
15 - uses: actions/setup-node@v2
19 - name: Install dependencies
25 export VERSION=${GITREF/*v/}
26 mkdir nominatim-ui-${VERSION}
27 mv dist LICENSE README.md nominatim-ui-${VERSION}/
29 tar czf artifacts/nominatim-ui-${VERSION}.tar.gz nominatim-ui-${VERSION}
30 zip -qr artifacts/nominatim-ui-${VERSION}.zip nominatim-ui-${VERSION}
33 GITREF: ${{ github.ref }}
36 - uses: AButler/upload-release-assets@v2.0
39 repo-token: ${{ secrets.GITHUB_TOKEN }}