Skip to content

Commit

Permalink
Merge pull request #387 from KxSystems/KXI-51959
Browse files Browse the repository at this point in the history
KXI-51959: Add run on feature/* branches plus update versions of actions
  • Loading branch information
cterry45 authored Aug 1, 2024
2 parents 940b81e + 005159e commit 93e31ff
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/app-sec-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand All @@ -29,7 +29,7 @@ jobs:
uses: martinbeentjes/[email protected]

- name: Download lcov result from test job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lcov

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Upload lcov result for app-sec job
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lcov
path: coverage-reports/lcov.info
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/prod_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node.js
Expand All @@ -29,13 +29,13 @@ jobs:
- name: Packaging
run: npm run package
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: KDB-VSCode-Extension
path: ./kdb-*vsix
retention-days: 1
- name: Upload lcov result for app-sec job
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lcov
path: coverage-reports/lcov.info
Expand All @@ -58,11 +58,11 @@ jobs:
VERSION=${{ github.ref_name }}
echo "run_tag=$(echo ${VERSION:1})" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download VSIX file from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: KDB-VSCode-Extension
- name: Get Body
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node.js
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- dev
- main
- feature/*

env:
NODE_ENV: production
Expand All @@ -30,13 +31,13 @@ jobs:
- name: Packaging
run: npm run package
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: KDB-VSCode-Extension
path: ./kdb-*vsix
retention-days: 1
- name: Upload lcov result for app-sec job
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lcov
path: coverage-reports/lcov.info
Expand All @@ -54,7 +55,7 @@ jobs:
needs: app-sec
steps:
- name: Download VSIX file from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: KDB-VSCode-Extension
- name: Release to Portal
Expand Down

0 comments on commit 93e31ff

Please sign in to comment.