Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

put an "archived" warning message in the README #373

put an "archived" warning message in the README

put an "archived" warning message in the README #373

Workflow file for this run

name: CI
on:
repository_dispatch:
push:
env:
ZREPL_DEBIAN_BUILD_NOVERIFY_GPG: "1"
jobs:
build:
name: build debian package from released binaries
runs-on: ubuntu-latest
steps:
- run: "echo ${{ github.event_name }} event triggered this step."
- uses: actions/checkout@v1
# default variables from committed file
- name: Dotenv Action
id: dotenv
uses: falti/[email protected]
with:
path: ./zrepl_release.env
- run: echo '::set-env name=ZREPL_MAIN_REPO_COMMIT::${{steps.dotenv.outputs.ZREPL_MAIN_REPO_COMMIT}}'
- run: echo '::set-env name=ZREPL_GO_VERSION::${{steps.dotenv.outputs.ZREPL_GO_VERSION}}'
# repository_dispatch provides variables in payload
- run: 'echo "payload: ${{ toJson(github.event.client_payload) }}"'
- run: echo '::set-env name=ZREPL_MAIN_REPO_COMMIT::${{github.event.client_payload.zrepl_main_repo_commit }}'
if: github.event_name == 'repository_dispatch'
- run: echo '::set-env name=ZREPL_GO_VERSION::${{github.event.client_payload.go_version }}'
if: github.event_name == 'repository_dispatch'
- name: Checkout zrepl main repo
uses: actions/checkout@v2
with:
repository: zrepl/zrepl
path: zrepl-main-repo
ref: ${{env.ZREPL_MAIN_REPO_COMMMIT}}
fetch-depth: 0
- name: Get git-describe of zrepl main repo
run: echo '::set-env name=ZREPL_MAIN_REPO_GIT_DESCRIBE::'"$(set -eux && cd zrepl-main-repo && git describe)"
- name: Bump changelog to git-describe version
run: bash -x ./bump_changelog.bash "${ZREPL_MAIN_REPO_GIT_DESCRIBE#v}"
- name: Download the release artifacts
run: bash -x ./download_ci_release.bash "$ZREPL_MAIN_REPO_COMMIT" "$ZREPL_GO_VERSION"
- name: Build the package
run: bash -x ./docker_make_debs.bash
- uses: actions/upload-artifact@v2-preview
with:
name: packages
path: debs/**