Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-rsingh committed Mar 15, 2023
1 parent 0e0948c commit 2b2fa16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set an output
id: set-version
Expand Down Expand Up @@ -61,12 +61,12 @@ jobs:
if: runner.os == 'Linux'
run: |
npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: runner.os == 'Linux'
with:
name: ${{ steps.set-version.outputs.name }}.vsix
path: ${{ steps.set-version.outputs.name }}.vsix
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: runner.os == 'Linux'
with:
name: meta
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: meta
path: .
Expand All @@ -89,7 +89,7 @@ jobs:
set -x
echo ::set-output name=version::`cat .version`
echo ::set-output name=name::`cat .name`
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: ${{ steps.set-version.outputs.name }}.vsix
- name: Create Release
Expand Down

0 comments on commit 2b2fa16

Please sign in to comment.