Skip to content

Add GitHub token to runner #5

Add GitHub token to runner

Add GitHub token to runner #5

Workflow file for this run

on:
push:
tags:
- "*"
workflow_dispatch:
name: Build and publish executable
jobs:
build_publish:
name: Bundle x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build bundle
run: cd dist && sudo ./build.sh --dist --bundle
- name: Publish bundle
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Automated build of ${{ github.ref }}
files: bin/*
draft: false
prerelease: true
body: This is an automated build of commit ${{ github.ref }}.