fix #177: fails without error when publishing chsrc-bin to AUR #60
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: Linux AArch64 Build | |
| on: | |
| push: | |
| branches: [ "gh-build" ] | |
| pull_request: | |
| branches: [ "gh-build" ] | |
| jobs: | |
| aarch64-linux-build-and-upload: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Build aarch64 | |
| uses: uraimo/run-on-arch-action@v2 | |
| with: | |
| arch: aarch64 | |
| distro: ubuntu_latest | |
| dockerRunArgs: | | |
| --volume "${PWD}/artifacts:/artifacts" | |
| run: | | |
| apt-get update -qq | |
| apt-get install build-essential -y -q | |
| apt-get install git -y -q | |
| pwd ; ls -al | |
| git clone https://github.com/RubyMetric/chsrc -b gh-build -q | |
| cd chsrc | |
| make CI CI_ARTIFACT_NAME=chsrc-aarch64-linux | |
| cp ./chsrc-aarch64-linux /artifacts | |
| - name: Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| tag_name: pre | |
| files: | | |
| ./artifacts/chsrc-aarch64-linux | |
| token: ${{ secrets.UPLOAD_TO_GITHUB }} |