Skip to content

v1.13.0-publisher-2 #31

v1.13.0-publisher-2

v1.13.0-publisher-2 #31

Workflow file for this run

name: Release Binary on Release Creation
on:
release:
types: [created, edited]
jobs:
build-and-upload:
name: Build and Upload Binary
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
- name: Run Make Install
run: make install
- name: Make binary executable
run: chmod +x /home/runner/go/bin/injectived
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: /home/runner/go/bin/injectived
asset_name: injectived-${{ github.event.release.tag_name }}-amd64
asset_content_type: application/octet-stream