Skip to content
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

Proposal - remove PAC files from repo (and thus tarball/zipball of actions) and install via nuget #424

Merged
merged 15 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/workflows/paportal-rolling-instance-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
- name: Download CDSStarterPortal package from portal authenticated feed
run: gulp fetchPortalPackage --feedPAT ${{ secrets.OneCRM_DevOps_Read_PAT }}

- name: Install PAC
uses: ./actions-install
id: actions-install

- name: Create a PA Portal test env
uses: ./create-environment
id: create-paportal-environment
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,9 @@ jobs:
env:
AZ_DevOps_Read_PAT: ${{ secrets.AZ_DevOps_Read_PAT }}

- name: Check Execute Permissions
if: matrix.os == 'ubuntu-latest'
run: |
if [ ! -x dist/pac_linux/tools/pac ]
then
echo "dist/pac_linux/tools/pac is not executable. See \"Refreshing actions in dist folder\" in README.md" 1>&2
exit 1
fi
- name: Install PAC
uses: ./actions-install
id: actions-install

- name: Test create-environment action with username/password
uses: ./create-environment
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rolling-instance-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
with:
lfs: true

- name: Install PAC
uses: ./actions-install
id: actions-install

- name: Test create-source-environment action with appId-clientSecret
uses: ./create-environment
id: create-source-environment
Expand Down
13 changes: 13 additions & 0 deletions actions-install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: 'actions-install'
description: 'Power Platform Actions Install'
inputs:
pac-version-override:
description: 'Override the version of PAC installed for Actions. Note that this may break other actions if the PAC and Action arguments do not align.'
required: false

runs:
using: 'node16'
main: '../dist/actions/actions-install/index.js'

Loading