Skip to content

Merge pull request #41 from proximax-storage/1.5.0-changes #21

Merge pull request #41 from proximax-storage/1.5.0-changes

Merge pull request #41 from proximax-storage/1.5.0-changes #21

Workflow file for this run

name: Releases
on:
push:
tags:
- 'release-v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: little-core-labs/[email protected]
id: tagName
- name: compile peer package
run: |
mv docker-method public-mainnet-peer-package
tar -zcvf public-mainnet-peer-package-${{steps.tagName.outputs.tag}}.tar.gz public-mainnet-peer-package
sha256sum public-mainnet-peer-package-${{steps.tagName.outputs.tag}}.tar.gz > public-mainnet-peer-package-${{steps.tagName.outputs.tag}}.tar.gz.sha256
- name: compile api package
run: |
mv docker-api public-mainnet-api-package
tar -zcvf public-mainnet-api-package-${{steps.tagName.outputs.tag}}.tar.gz public-mainnet-api-package
sha256sum public-mainnet-api-package-${{steps.tagName.outputs.tag}}.tar.gz > public-mainnet-api-package-${{steps.tagName.outputs.tag}}.tar.gz.sha256
- uses: ncipollo/release-action@v1
with:
artifacts: "public-mainnet-*-package-*.tar.gz*"
token: ${{ secrets.GITHUB_TOKEN }}