Skip to content

test: removes unexpected separator (#215) #479

test: removes unexpected separator (#215)

test: removes unexpected separator (#215) #479

Workflow file for this run

name: Integration
on:
push:
branches:
- "main"
tags:
- "*"
jobs:
integrate-revision:
if: github.ref == 'refs/heads/main'
name: Integrate revision
runs-on: ubuntu-latest
steps:
- name: Dispatch integration
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.IDENTUS_CI }}
repository: hyperledger-identus/integration
event-type: integration
client-payload: '{"component": "sdk-swift", "release": false, "version": "${{ github.sha }}" }'
integrate-release:
if: startsWith(github.ref, 'refs/tags/')
name: Integrate release
runs-on: ubuntu-latest
steps:
- name: Get tag
id: tag
run: echo "name=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
- name: Dispatch integration
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.IDENTUS_CI }}
repository: hyperledger-identus/integration
event-type: integration
client-payload: '{"component": "sdk-swift", "release": true, "version": "${{ steps.tag.outputs.name }}" }'