-
Notifications
You must be signed in to change notification settings - Fork 8
63 lines (60 loc) · 1.94 KB
/
sync-any-artifact.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Sync Any Artifact from tenant
on:
workflow_dispatch:
inputs:
packageId:
description: 'Package ID'
required: true
directory:
description: 'Target artifact directory (relative from Git repository root)'
required: false
includedIds:
description: 'Included Ids (optional)'
required: false
excludedIds:
description: 'Excluded Ids (optional)'
required: false
draft:
description: 'Draft handling'
type: choice
options:
- SKIP
- ADD
- ERROR
required: false
dirNaming:
description: 'Naming convention for artifact directories'
required: false
type: choice
options:
- ID
- NAME
syncPackageDetails:
description: "Sync package details"
type: boolean
required: false
message:
description: 'Commit message (optional)'
required: false
jobs:
sync:
runs-on: ubuntu-latest
container:
image: engswee/flashpipe:latest
steps:
- uses: actions/checkout@v4
- name: 'Sync any artifact'
uses: engswee/flashpipe-action/sync@v1
with:
tmn-host: equaliseit.it-cpi023.cfapps.eu20-001.hana.ondemand.com
oauth-host: equaliseit.authentication.eu20.hana.ondemand.com
oauth-clientid: ${{ secrets.DEV_CLIENT_ID }}
oauth-clientsecret: ${{ secrets.DEV_CLIENT_SECRET }}
package-id: ${{ github.event.inputs.packageId }}
dir-artifacts-relative: ${{ github.event.inputs.directory }}
dir-naming-type: ${{ github.event.inputs.dirNaming }}
draft-handling: ${{ github.event.inputs.draft }}
ids-include: ${{ github.event.inputs.includedIds }}
ids-exclude: ${{ github.event.inputs.excludedIds }}
git-commit-msg: ${{ github.event.inputs.message }}
sync-package-details: ${{ github.event.inputs.syncPackageDetails }}