-
-
Notifications
You must be signed in to change notification settings - Fork 11
41 lines (38 loc) · 885 Bytes
/
mta-build-push.yml
File metadata and controls
41 lines (38 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- 'README.md'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: pwd
run: pwd
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Check node version
run: node --version
- name: Install MTA Build Tool
run: npm install -g mbt
- name: Install Packages
shell: bash
env:
SAP_NPM_AUTH: ${{ secrets.SAP_NPM_AUTH }}
run: npm install ci
- name: MTA build
uses: SAP/project-piper-action@master
with:
command: mtaBuild
- name: Upload archive file
uses: actions/upload-artifact@v3
with:
name: mta
path: html5userapi.mtar