From dc726bd2922283a5d49690b36953cf5363975451 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Wed, 16 Nov 2022 23:49:54 +0900 Subject: [PATCH] Remove unnecessary path specification when downloading the artifact --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30795f1c0f..ebc0ab61c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,12 +74,11 @@ jobs: - uses: actions/download-artifact@v3 with: name: emacs-mcx - path: /tmp/artifact - name: Create a new release uses: softprops/action-gh-release@v1 with: - files: /tmp/artifact/emacs-mcx*.vsix + files: emacs-mcx*.vsix publish: if: ${{ success() && startsWith(github.ref, 'refs/tags/v') }} @@ -96,17 +95,16 @@ jobs: - uses: actions/download-artifact@v3 with: name: emacs-mcx - path: /tmp/artifact - if: matrix.target == 'marketplace' name: Publish to Visual Studio Marketplace uses: HaaLeo/publish-vscode-extension@v1 with: - extensionFile: /tmp/artifact/emacs-mcx*.vsix + extensionFile: emacs-mcx*.vsix pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} registryUrl: https://marketplace.visualstudio.com - if: matrix.target == 'openvsx' name: Publish to Open VSX Registry uses: HaaLeo/publish-vscode-extension@v1 with: - extensionFile: /tmp/artifact/emacs-mcx*.vsix + extensionFile: emacs-mcx*.vsix pat: ${{ secrets.OPEN_VSX_TOKEN }}