From 2234f7c4bbea6bff638caa1a77db215aa98cd11b Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Mon, 26 Apr 2021 12:08:10 -0700 Subject: [PATCH] Removing test updates --- .github/workflows/test.yml | 34 +++++----------------------------- dist/index.js | 2 +- src/main.ts | 2 +- 3 files changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a134e75..781af7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,37 +5,13 @@ on: # rebuild any PRs and main branch changes branches: - main - 'releases/*' - - ldennington/update-publish-path jobs: - test: + build: # make sure build/ci work properly runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Update winget repository - uses: ./ - with: - id: Microsoft.GitCredentialManagerCore - version: 2.0.194.40577 - token: ${{ secrets.WINGET_TOKEN }} - repo: ldennington/winget-pkgs - manifestText: | - PackageIdentifier: Microsoft.GitCredentialManagerCore - PackageVersion: 2.0.194.40577 - PackageName: Git Credential Manager Core - Publisher: Microsoft Corporation - Moniker: git-credential-manager-core - PackageUrl: https://aka.ms/gcmcore - License: Copyright (C) Microsoft Corporation - ShortDescription: Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services. - Installers: - - Architecture: x64 - InstallerUrl: https://github.com/microsoft/Git-Credential-Manager-Core/releases/download/v2.0.194-beta/gcmcore-win-x86-2.0.194.40577.exe - InstallerType: inno - InstallerSha256: 26D3662F66E6AEC76C3BF155028D22D30ED8D1F1AFFA7C676F8DB0426939E8AD - PackageLocale: en-US - ManifestType: singleton - ManifestVersion: 1.0.0 - alwaysUsePullRequest: true - releaseRepo: 'microsoft/Git-Credential-Manager-Core' - releaseTag: 'v2.0.194-beta' + - run: | + npm install + - run: | + npm run all diff --git a/dist/index.js b/dist/index.js index 844434a..92c74b0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8362,7 +8362,7 @@ function run() { core.debug('computing manifest file path...'); const manifestFilePath = `manifests/${id .charAt(0) - .toLowerCase()}/${id.replace('.', '/')}/${version}.yaml`; + .toLowerCase()}/${id.replace('.', '/')}/${version}.yaml`.trim(); core.debug(`manifest file path is: ${manifestFilePath}`); core.debug(`final manifest is:`); core.debug(manifestText); diff --git a/src/main.ts b/src/main.ts index 05569f2..9c237da 100644 --- a/src/main.ts +++ b/src/main.ts @@ -188,7 +188,7 @@ async function run(): Promise { ); core.debug('computing manifest file path...'); - let manifestFilePath = `manifests/${id + const manifestFilePath = `manifests/${id .charAt(0) .toLowerCase()}/${id.replace('.', '/')}/${version}.yaml`.trim(); core.debug(`manifest file path is: ${manifestFilePath}`);