mirror of
https://github.com/LBRYFoundation/herald.go.git
synced 2025-10-02 16:10:34 +00:00
try again
This commit is contained in:
parent
974e2ba7f8
commit
96abe830a7
3 changed files with 30 additions and 27 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -1,11 +1,10 @@
|
||||||
name: 'Build Hub'
|
name: 'Build Hub'
|
||||||
description: 'Build job that runs on every commit'
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: golang:1.16.6-alpine3.14
|
runs-on: golang:1.16.6-alpine3.14
|
||||||
steps:
|
steps:
|
||||||
- run: go build .
|
- run: go build .
|
||||||
- run: ./protobuf/build.sh
|
- run: ./protobuf/build.sh
|
||||||
|
|
19
.github/workflows/draft-release.yml
vendored
19
.github/workflows/draft-release.yml
vendored
|
@ -1,13 +1,14 @@
|
||||||
# draft-release.yml
|
# draft-release.yml
|
||||||
name: "draft-release"
|
name: "draft-release"
|
||||||
description: "draft release that runs on PRs"
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
jobs:
|
jobs:
|
||||||
draft-release:
|
draft-release:
|
||||||
runs-on: golang:1.16.6-alpine3.14
|
runs-on: golang:1.16.6-alpine3.14
|
||||||
using: python:3.8.11-alpine3.14
|
steps:
|
||||||
steps:
|
- uses: actions/checkout@v2
|
||||||
- run: python3 scripts/version.py current --commit # creates a draft release
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.8'
|
||||||
|
architecture: 'x64'
|
||||||
|
- run: python3 scripts/version.py current --commit # creates a draft release
|
||||||
|
|
17
.github/workflows/full-release.yml
vendored
17
.github/workflows/full-release.yml
vendored
|
@ -1,12 +1,15 @@
|
||||||
name: "full-release"
|
name: "full-release"
|
||||||
description: "full release on commit to master"
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: golang:1.16.6-alpine3.14
|
runs-on: golang:1.16.6-alpine3.14
|
||||||
using: python:3.8.11-alpine3.14
|
steps:
|
||||||
steps:
|
- uses: actions/checkout@v2
|
||||||
- run: python3 scripts/version.py current --commit --commit --commit
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.8'
|
||||||
|
architecture: 'x64'
|
||||||
|
- run: python3 scripts/version.py current --commit --commit --commit
|
Loading…
Add table
Reference in a new issue