Skip to content

Commit

Permalink
Revert "chore: build new dist version" due to breaking changes
Browse files Browse the repository at this point in the history
This reverts commit cb10890.
  • Loading branch information
atymic committed Jan 20, 2021
1 parent e2c1dfd commit cce4486
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/lib
/tmp
node_modules
.eslintcache
1 change: 1 addition & 0 deletions dist/SetupDeployer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
interface DeployerOptions {
deployerVersion?: string;
deployerRecipesVersion?: string;
skipDeployerInstall?: string;
}
declare const _default: (options: DeployerOptions) => Promise<void>;
Expand Down
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3964,6 +3964,7 @@ const tasks = new taskz([
text: 'Install Deployer',
task: () => SetupDeployer_1.default({
deployerVersion: core.getInput('deployer-version'),
deployerRecipesVersion: core.getInput('deployer-recipes-version'),
skipDeployerInstall: core.getInput('deployer-skip-install'),
})
},
Expand Down Expand Up @@ -7965,7 +7966,10 @@ exports.default = async (options) => {
const deployerPackage = options.deployerVersion
? `deployer/deployer:${options.deployerVersion}`
: 'deployer/deployer';
await execa('composer', ['global', 'require', deployerPackage]);
const deployerRecipesPackage = options.deployerRecipesVersion
? `deployer/recipes:${options.deployerRecipesVersion}`
: 'deployer/recipes';
await execa('composer', ['global', 'require', deployerPackage, deployerRecipesPackage]);
const installPath = (await execa('composer', ['global', 'config', 'home'])).stdout;
core.addPath(`${installPath}/vendor/bin`);
};
Expand Down

0 comments on commit cce4486

Please sign in to comment.