Skip to content

[ADP-3350] Conversion to/from Read.ChainPoint (#4540) #1482

[ADP-3350] Conversion to/from Read.ChainPoint (#4540)

[ADP-3350] Conversion to/from Read.ChainPoint (#4540) #1482

Workflow file for this run

name: release
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
release:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/release/v') }}
runs-on: ubuntu-20.04
steps:
# This should create an empty release draft
# TODO: get artifacts from Buildkite to be attached to the draft
# Task: https://cardanofoundation.atlassian.net/browse/ADP-2502
- name: '🚀 Release'
uses: softprops/action-gh-release@v1
with:
draft: true
# fail_on_unmatched_files: true
# files: |
# *.tar.gz
# *.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bump_sh:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-20.04
steps:
- name: '📥 Checkout repository'
uses: actions/checkout@v3.2.0
- name: 'Set up Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: 'Install dependencies'
run: |
gem install bump-cli
sudo snap install yq
- name: 'Update Release in Bump.sh'
run: './scripts/gh/update-bump.sh'
env:
BUMP_SH_DOC_ID: ${{ secrets.BUMP_SH_DOC_ID }}
BUMP_SH_TOKEN: ${{ secrets.BUMP_SH_TOKEN }}
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixpkgs-21.11-darwin
- name: 'Show latest changes from Bump.sh'
run: './scripts/gh/show-bump.sh'