mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 07:24:49 +01:00
ci: update actions, fix names
This commit is contained in:
parent
2746221b1f
commit
864cabbe41
2 changed files with 8 additions and 8 deletions
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
|
@ -25,8 +25,8 @@ jobs:
|
||||||
npm_config_arch: arm64
|
npm_config_arch: arm64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
- shell: pwsh
|
- shell: pwsh
|
||||||
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:GITHUB_ENV
|
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:GITHUB_ENV
|
||||||
- run: npx vsce package --target ${{ env.target }}
|
- run: npx vsce package --target ${{ env.target }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.target }}
|
name: ${{ env.target }}
|
||||||
path: "*.vsix"
|
path: "*.vsix"
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v4
|
||||||
- run: npx vsce publish --packagePath $(find . -iname *.vsix)
|
- run: npx vsce publish --packagePath $(find . -iname *.vsix)
|
||||||
env:
|
env:
|
||||||
VSCE_PAT: ${{ secrets.AZURE_TOKEN }}
|
VSCE_PAT: ${{ secrets.AZURE_TOKEN }}
|
||||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -6,13 +6,13 @@ on:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build+test:
|
build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: '14'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue