-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New action request for copilot publish #620
Comments
I will defer to the GitHub Actions for Power Platform team on the feature request, but have a workaround to unblock you for now. GitHub Actions for Power Platform have an "escape hatch" when the actions haven't caught up to the underlying name: use-pac-from-actions
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Power Platform Actions
uses: microsoft/powerplatform-actions/actions-install@v1
with:
add-tools-to-path: true
- name: create pac auth profile
shell: pwsh
run: |
# create a pac auth profile
pac auth create --name temp-for-workflow --url ${{ secrets.ENVIRONMENT_URL }} --applicationId ${{ secrets.APP_ID }} --clientSecret ${{ secrets.CLIENT_SECRET }} --tenant ${{ secrets.TENANT_ID }}
- name: use pac
shell: pwsh
run: |
# use pac with the profile created
pac auth who Following this approach/pattern, you should be able to use |
Thanks @devkeydet the similar workaround we have taken for our implementation. From the same learnings, I am going to raise two PR's in this and CLI Wrapper repository, please have a look if they will work. |
Requesting for new action that will publish Copilot after solution import.
Reference command: pac copilot publish
The text was updated successfully, but these errors were encountered: