diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66c8aac..a871a03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,10 @@ -name: 'Build Hub' -description: 'Build job that runs on every commit' - -on: - push: - jobs: - build: - runs-on: golang:1.16.6-alpine3.14 - steps: - - run: go build . - - run: ./protobuf/build.sh +name: 'Build Hub' + +on: + push: +jobs: + build: + runs-on: golang:1.16.6-alpine3.14 + steps: + - run: go build . + - run: ./protobuf/build.sh diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 52357d8..b2bf319 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -1,13 +1,14 @@ # draft-release.yml name: "draft-release" -description: "draft release that runs on PRs" on: pull_request: - jobs: - draft-release: - runs-on: golang:1.16.6-alpine3.14 - using: python:3.8.11-alpine3.14 - steps: - - run: python3 scripts/version.py current --commit # creates a draft release - - +jobs: + draft-release: + runs-on: golang:1.16.6-alpine3.14 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.8' + architecture: 'x64' + - run: python3 scripts/version.py current --commit # creates a draft release diff --git a/.github/workflows/full-release.yml b/.github/workflows/full-release.yml index 1617dbc..4b826c8 100644 --- a/.github/workflows/full-release.yml +++ b/.github/workflows/full-release.yml @@ -1,12 +1,15 @@ name: "full-release" -description: "full release on commit to master" on: push: branches: - master - jobs: - release: - runs-on: golang:1.16.6-alpine3.14 - using: python:3.8.11-alpine3.14 - steps: - - run: python3 scripts/version.py current --commit --commit --commit +jobs: + release: + runs-on: golang:1.16.6-alpine3.14 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.8' + architecture: 'x64' + - run: python3 scripts/version.py current --commit --commit --commit \ No newline at end of file