Skip to content

Commit

Permalink
Remove unnecessary path specification when downloading the artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Nov 16, 2022
1 parent 02d8587 commit dc726bd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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 }}

0 comments on commit dc726bd

Please sign in to comment.