Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Oct 30, 2023
1 parent 5bc8980 commit cd72153
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 97 deletions.
38 changes: 19 additions & 19 deletions cache-complete/action.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: 'Build/Get OneFlow'
description: ''
name: "Build/Get OneFlow"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'cache-complete'
default: "cache-complete"
oneflow-src:
description: 'path to OneFlow source code'
description: "path to OneFlow source code"
required: true
entry:
description: 'entry to cache completion status'
description: "entry to cache completion status"
required: true
runner-labels:
required: false
description: 'runner labels to output if cache not found'
description: "runner labels to output if cache not found"
mark-as-completed:
required: false
description: 'if true, will mark keys as completed when this job is success'
description: "if true, will mark keys as completed when this job is success"
default: false
digest-type:
required: true
description: 'build|test'
description: "build|test"
outputs:
runs-on:
description: 'if cache found, will generate a [ubuntu-latest], in JSON'
description: "if cache found, will generate a [ubuntu-latest], in JSON"
build-cache-hit:
description: ''
description: ""
test-cache-hit:
description: ''
description: ""
build-digest:
description: ''
description: ""
test-digest:
description: ''
description: ""

runs:
using: 'node12'
main: '../dist/index.js'
post: '../dist/index.js'
using: "node20"
main: "../dist/index.js"
post: "../dist/index.js"
post-if: success()
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
28 changes: 14 additions & 14 deletions cache-complete/matrix/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: 'Build/Get OneFlow'
description: ''
name: "Build/Get OneFlow"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'cache-complete/matrix/build'
default: "cache-complete/matrix/build"
oneflow-src:
description: 'path to OneFlow source code'
description: "path to OneFlow source code"
required: true
runner-labels:
required: true
description: 'runner labels to output if cache not found'
description: "runner labels to output if cache not found"
entries:
required: true
description: 'matrix keys to generate matrix output'
description: "matrix keys to generate matrix output"
delete-cache:
required: false
description: ''
default: 'false'
description: ""
default: "false"
outputs:
matrix:
description: 'if cache found, will generate a [ubuntu-latest], in JSON'
description: "if cache found, will generate a [ubuntu-latest], in JSON"

runs:
using: 'node12'
main: '../../../dist/index.js'
using: "node20"
main: "../../../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
32 changes: 16 additions & 16 deletions digest/download/action.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: 'Download by digest'
description: ''
name: "Download by digest"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'digest/download'
default: "digest/download"
entry:
description: ''
description: ""
required: true
digest:
description: ''
description: ""
required: true
ssh-tank-host:
description: ''
description: ""
required: false
ssh-tank-path:
description: ''
description: ""
required: false
default: '/tank'
default: "/tank"
digest-cache-dir:
description: ''
description: ""
required: false
default: './digest-cache'
default: "./digest-cache"

outputs:
entry-dir:
description: ''
description: ""

runs:
using: 'node12'
main: '../../dist/index.js'
using: "node20"
main: "../../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
30 changes: 15 additions & 15 deletions digest/upload/action.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: 'Upload by digest'
description: ''
name: "Upload by digest"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'digest/upload'
default: "digest/upload"
src-dir:
description: 'path to OneFlow source code'
description: "path to OneFlow source code"
required: true
dst-dir:
description: 'path to OneFlow source code'
description: "path to OneFlow source code"
required: true
entry:
description: ''
description: ""
required: true
digest:
description: ''
description: ""
required: true
ssh-tank-host:
description: ''
description: ""
required: false
ssh-tank-path:
description: ''
description: ""
required: false
default: '/tank'
default: "/tank"

runs:
using: 'node12'
main: '../../dist/index.js'
using: "node20"
main: "../../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
24 changes: 12 additions & 12 deletions find-wheel/action.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: 'Find oneflow wheel in oss'
description: ''
name: "Find oneflow wheel in oss"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'find-wheel'
default: "find-wheel"
ref:
required: true
description: 'oneflow commit id'
description: "oneflow commit id"
compute-platform:
required: true
description: 'compute platform entry, e.g. cu112'
description: "compute platform entry, e.g. cu112"
python-version:
required: true
description: 'python version'
description: "python version"
outputs:
find-wheel-hit:
description: ''
description: ""

runs:
using: 'node12'
main: '../dist/index.js'
using: "node20"
main: "../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
20 changes: 10 additions & 10 deletions master-address/action.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: 'Find oneflow wheel in oss'
description: ''
name: "Find oneflow wheel in oss"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'master-address'
default: "master-address"
rank:
required: true
description: ''
description: ""
outputs:
master-address:
description: ''
description: ""

runs:
using: 'node12'
main: '../dist/index.js'
using: "node20"
main: "../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"
22 changes: 11 additions & 11 deletions wait-for-gpu/action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: 'Find oneflow wheel in oss'
description: ''
name: "Find oneflow wheel in oss"
description: ""
inputs:
action-type:
description: ''
description: ""
required: false
default: 'wait-for-gpu'
default: "wait-for-gpu"
max-try-times:
required: true
description: ''
description: ""
timeout-minutes:
required: true
description: ''
description: ""
token:
required: true
description: ''
description: ""

runs:
using: 'node12'
main: '../dist/index.js'
using: "node20"
main: "../dist/index.js"
branding:
icon: 'archive'
color: 'gray-dark'
icon: "archive"
color: "gray-dark"

0 comments on commit cd72153

Please sign in to comment.