Skip to content

Commit

Permalink
update to Node.JS 20, update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Sep 4, 2024
1 parent c77d0d0 commit c81e919
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-mta-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on:
branches:
- build
paths-ignore:
- '.github/**'
- ".github/**"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: pwd
run: pwd
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
cache: 'npm'
node-version: 20
cache: "npm"
- name: Check node version
run: node --version
- name: Install MTA Build Tool
Expand All @@ -35,7 +35,7 @@ jobs:
with:
command: mtaBuild
- name: Upload archive file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: mta
path: bookshop-demo-cf.mtar
name: mta
path: bookshop-demo-cf.mtar
10 changes: 5 additions & 5 deletions .github/workflows/build-mta-hana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: pwd
run: pwd
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
cache: "npm"
- name: Check node version
run: node --version
Expand All @@ -35,7 +35,7 @@ jobs:
with:
command: mtaBuild
- name: Upload archive file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: mta
path: bookshop-demo-xsa.mtar
Expand All @@ -47,7 +47,7 @@ jobs:
# url:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Copy XSA .pipeline/config.yml
run: cp .pipeline/config-xsa.yml .pipeline/config.yml
- uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-mta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Display structure of downloaded files
run: ls -R
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down

0 comments on commit c81e919

Please sign in to comment.