chore(builds): remove github-release tool

This now lives in the jimeh/emacs-builds repo, which focuses on building
and publishing binary releases, using the build-emacs-for-macos script.
This commit is contained in:
2021-05-08 19:10:46 +01:00
parent 1df39fafe6
commit 81a96f4d60
11 changed files with 0 additions and 891 deletions

View File

@@ -1,56 +0,0 @@
---
name: Build and Release
on:
workflow_dispatch:
inputs:
gitRef:
description: "Git Ref"
required: true
default: "master"
prerelease:
Description: "Pre-release?"
required: true
default: "true"
jobs:
build-and-release:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Generate plan.yml
run: >-
go run ./cmd/github-release --plan plan.yml plan
${{ github.event.inputs.gitRef }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show plan
run: >-
cat plan.yml
- name: Check if release and asset already exist for given plan
id: check
continue-on-error: true
run: >-
go run ./cmd/github-release --plan plan.yml check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
if: steps.check.outcome == 'failure'
run: >-
brew bundle
- name: Download and build Emacs
if: steps.check.outcome == 'failure'
run: >-
./build-emacs-for-macos --plan-file=plan.yml --native-full-aot
- name: Publish release
if: steps.check.outcome == 'failure'
run: >-
go run ./cmd/github-release --plan plan.yml publish
--prerelease=${{ github.event.inputs.prerelease }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}