Skip to content

Build release binary to be used for other actions #11

Build release binary to be used for other actions

Build release binary to be used for other actions #11

Workflow file for this run

name: Build release binary to be used for other actions
on: [ workflow_dispatch ]
jobs:
trigger-tester:
runs-on: ubuntu-latest
steps:
- name: "Install tools"
run: sudo apt-get install -y libgdbm-dev libmbedtls-dev
- name: "Build"
# run: |
# curl -f -o get-gauche.sh https://raw.githubusercontent.com/shirok/get-gauche/master/get-gauche.sh
# chmod +x get-gauche.sh
# ./get-gauche.sh --prefix /usr --destdir package --version latest --force
# (cd package; tar czvf ../gauche-binary-ubuntu-latest.tar.gz .)
run: echo "placeholder" > gauche-binary-ubuntu-latest.tar.gz
- name: "Get upload url"
run: |
upload_url=$(curl -sL https://api.github.com/repos/actions/checkout/releases/latest | jq -r '.upload_url')
echo UPLOAD_URL=$upload_url >> $GITHUB_ENV
- uses: shogo82148/actions-upload-release-asset@v1
with:
asset_path: gauche-binary-ubuntu-latest.tar.gz
overwrite: true
upload_url: ${{ env.UPLOAD_URL }}