Skip to content

Commit f65a5e3

Browse files
authored
Add workflow-kotlin (#56)
1 parent c81b96a commit f65a5e3

File tree

2 files changed

+62
-3
lines changed

2 files changed

+62
-3
lines changed

.github/workflows/projects-dashboard.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
env:
3333
GITHUB_HEAD_REF: ${{ github.head_ref }}
3434
GITHUB_REF_NAME: ${{ github.ref_name }}
35+
PR_NUMBER: ${{ github.event.number }}
3536
run: |
3637
if [ "$GITHUB_HEAD_REF" != "" ]; then
3738
# This is a pull request
@@ -43,9 +44,7 @@ jobs:
4344
4445
TARGET_PATH=projects-dashboard
4546
if [ "$BRANCH" != "main" ]; then
46-
# sanitize branch name
47-
BRANCH=$(echo "$BRANCH" | sed 's/[^a-zA-Z0-9-]/_/g')
48-
TARGET_PATH=projects-dashboard-preview-$BRANCH
47+
TARGET_PATH=projects-dashboard-preview-pr-$PR_NUMBER
4948
fi
5049
echo "path=$TARGET_PATH" >> $GITHUB_OUTPUT
5150
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
repo:
3+
owner: "square"
4+
name: "workflow-kotlin"
5+
defaultBranch: "main"
6+
title: "Workflow Kotlin"
7+
description: "A Kotlin library for making composable state machines, and UIs driven by those state machines."
8+
branding: "square"
9+
lifeCycleStatus: "mature"
10+
website: "https://square.github.io/workflow/"
11+
ciChecks:
12+
- type: "github-actions"
13+
label: "build"
14+
value: "kotlin.yml"
15+
licenses:
16+
- type: "github-license"
17+
contributing:
18+
- type: "code-of-conduct"
19+
value: "CODE_OF_CONDUCT.md"
20+
- type: "contribution-guidelines"
21+
value: "CONTRIBUTING.md"
22+
- type: "issues"
23+
- type: "slack"
24+
label: "#squarelibraries"
25+
value: "https://kotlinlang.slack.com/messages/C5HT9AL7Q"
26+
27+
packages:
28+
- packageName: "workflow-core"
29+
repoPath: "workflow-core"
30+
language: "kotlin"
31+
artifacts:
32+
- type: "maven"
33+
value: "com.squareup.workflow1/workflow-core-jvm"
34+
- type: "reference-docs"
35+
value: "https://square.github.io/workflow/kotlin/api/htmlMultiModule/workflow-core"
36+
- packageName: "workflow-rx2"
37+
repoPath: "workflow-rx2"
38+
language: "kotlin"
39+
artifacts:
40+
- type: "maven"
41+
value: "com.squareup.workflow1/workflow-rx2"
42+
- type: "reference-docs"
43+
value: "https://square.github.io/workflow/workflow-rx2/"
44+
- packageName: "workflow-testing-jvm"
45+
repoPath: "workflow-testing"
46+
language: "kotlin"
47+
artifacts:
48+
- type: "maven"
49+
value: "com.squareup.workflow1/workflow-testing-jvm"
50+
- type: "reference-docs"
51+
value: "https://square.github.io/workflow/kotlin/api/htmlMultiModule/workflow-testing"
52+
- packageName: "workflow-ui-core-android"
53+
repoPath: "workflow-ui/core-android"
54+
language: "kotlin"
55+
artifacts:
56+
- type: "maven"
57+
value: "com.squareup.workflow1/workflow-ui-core-android"
58+
- type: "reference-docs"
59+
value: "https://square.github.io/workflow/kotlin/api/htmlMultiModule/workflow-ui/core-android"
60+
---

0 commit comments

Comments
 (0)