v4.25.0 "Price impact" #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: get-npm-version | |
id: package-version | |
uses: martinbeentjes/[email protected] | |
with: | |
path: apps/wallet-mobile | |
- name: Install Octopus CLI | |
uses: OctopusDeploy/[email protected] | |
with: | |
version: latest | |
- name: Create Archive | |
run: tar czvf /tmp/yoroi.tar.gz -C $(pwd) . | |
- name: Move package file | |
run: mv "/tmp/yoroi.tar.gz" yoroi.${{ steps.package-version.outputs.current-version}}.tar.gz | |
- name: Push package to Octopus Deploy | |
uses: OctopusDeploy/[email protected] | |
with: | |
packages: 'yoroi.${{ steps.package-version.outputs.current-version}}.tar.gz' | |
server: https://emurgo.octopus.app | |
api_key: ${{ secrets.OCTOPUS_API_KEY }} | |
- name: Create release for Nightly | |
uses: OctopusDeploy/[email protected] | |
with: | |
server: https://emurgo.octopus.app | |
api_key: ${{ secrets.OCTOPUS_API_KEY }} | |
project: 'yoroi' | |
channel: 'Nightly' | |
packages: 'yoroi:${{ steps.package-version.outputs.current-version}}' | |
release_number: '${{ steps.package-version.outputs.current-version}}-nightly' | |
- name: Create release for Production | |
uses: OctopusDeploy/[email protected] | |
with: | |
server: https://emurgo.octopus.app | |
api_key: ${{ secrets.OCTOPUS_API_KEY }} | |
project: 'yoroi' | |
channel: 'Production' | |
packages: 'yoroi:${{ steps.package-version.outputs.current-version}}' | |
release_number: '${{ steps.package-version.outputs.current-version}}-production' | |