Skip to main content
Module

x/pbkit/.github/workflows/pollapo-build-linux-binary.yml

Protobuf toolkit for modern web development
Go to Latest
File
name: Pollapo - Build Linux Binaryon: release: types: [created]
jobs: build-binary: runs-on: ubuntu-latest defaults: run: working-directory: cli/pollapo steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Deno uses: denoland/setup-deno@v1 with: deno-version: v1.x - name: Build run: deno compile -A --unstable --output pollapo-linux entrypoint.ts - name: Upload pollapo binary uses: shogo82148/actions-upload-release-asset@v1 with: upload_url: ${{ github.event.release.upload_url }} asset_path: cli/pollapo/pollapo-linux - name: 'get tag' id: tags run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Upload pollapo binary to Nexus run: curl -X PUT -v -u '${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}' --upload-file pollapo-linux ${{ secrets.NEXUS_URL }}/pollapo-linux-${{ steps.tags.outputs.tag }}