switch actions to use dist/actions
This commit is contained in:
Родитель
4f71ec53a3
Коммит
599af4260f
10
README.md
10
README.md
|
@ -10,7 +10,7 @@ To run tasks from this offering, add the following to your existing Actions work
|
|||
```yaml
|
||||
steps:
|
||||
- name: Export Solution
|
||||
uses: microsoft/powerplatform/export-solution
|
||||
uses: microsoft/powerplatform/export-solution@v0
|
||||
with:
|
||||
environment-url: 'https://myenv.crm.dynamics.com'
|
||||
user-name: 'me@myenv.onmicrosoft.com'
|
||||
|
@ -18,6 +18,14 @@ To run tasks from this offering, add the following to your existing Actions work
|
|||
solution-name: aSolution
|
||||
solution-output-file: 'aSolution.zip'
|
||||
working-directory: 'out'
|
||||
|
||||
- name: Unpack Solution
|
||||
uses: microsoft/powerplatform/unpack-solution@v0
|
||||
with:
|
||||
solution-input-file: 'out/aSolution1.zip'
|
||||
solution-target-folder: 'src/solutions/solution one'
|
||||
solution-type: 'Unmanaged'
|
||||
overwrite-files: true
|
||||
```
|
||||
|
||||
[![CI](https://github.com/microsoft/powerplatform-actions/workflows/CI/badge.svg)](https://github.com/microsoft/powerplatform-actions/actions?query=workflow%3ACI)
|
||||
|
|
|
@ -37,5 +37,5 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'node12'
|
||||
# main: 'dist/export-solution/index.js'
|
||||
main: '../out/actions/export-solution/index.js'
|
||||
main: '../dist/actions/export-solution/index.js'
|
||||
# main: '../out/actions/export-solution/index.js'
|
||||
|
|
|
@ -23,5 +23,5 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'node12'
|
||||
# main: 'dist/index.js'
|
||||
main: '../out/actions/unpack-solution/index.js'
|
||||
main: '../dist/actions/unpack-solution/index.js'
|
||||
# main: '../out/actions/unpack-solution/index.js'
|
||||
|
|
|
@ -17,5 +17,5 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'node12'
|
||||
# main: 'dist/who-am-i/index.js'
|
||||
main: '../out/actions/who-am-i/index.js'
|
||||
main: '../dist/actions/who-am-i/index.js'
|
||||
# main: '../out/actions/who-am-i/index.js'
|
||||
|
|
Загрузка…
Ссылка в новой задаче