From 1535af5540e9b20b58bc8d0275c6618659b68889 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Tue, 18 Feb 2025 15:13:06 +0000 Subject: [PATCH] update github actions --- {ci => .github}/app2string/abapClassTemplate.js | 0 {ci => .github}/app2string/abapXMLTemplate.js | 0 {ci => .github}/app2string/abaplint.jsonc | 0 {ci => .github}/app2string/trans2abap.js | 0 {ci => .github}/cleaner-profile.cfj | 0 app/package.json | 2 +- package.json | 3 ++- 7 files changed, 3 insertions(+), 2 deletions(-) rename {ci => .github}/app2string/abapClassTemplate.js (100%) rename {ci => .github}/app2string/abapXMLTemplate.js (100%) rename {ci => .github}/app2string/abaplint.jsonc (100%) rename {ci => .github}/app2string/trans2abap.js (100%) rename {ci => .github}/cleaner-profile.cfj (100%) diff --git a/ci/app2string/abapClassTemplate.js b/.github/app2string/abapClassTemplate.js similarity index 100% rename from ci/app2string/abapClassTemplate.js rename to .github/app2string/abapClassTemplate.js diff --git a/ci/app2string/abapXMLTemplate.js b/.github/app2string/abapXMLTemplate.js similarity index 100% rename from ci/app2string/abapXMLTemplate.js rename to .github/app2string/abapXMLTemplate.js diff --git a/ci/app2string/abaplint.jsonc b/.github/app2string/abaplint.jsonc similarity index 100% rename from ci/app2string/abaplint.jsonc rename to .github/app2string/abaplint.jsonc diff --git a/ci/app2string/trans2abap.js b/.github/app2string/trans2abap.js similarity index 100% rename from ci/app2string/trans2abap.js rename to .github/app2string/trans2abap.js diff --git a/ci/cleaner-profile.cfj b/.github/cleaner-profile.cfj similarity index 100% rename from ci/cleaner-profile.cfj rename to .github/cleaner-profile.cfj diff --git a/app/package.json b/app/package.json index 5bea50bc..d48d5b9d 100644 --- a/app/package.json +++ b/app/package.json @@ -31,7 +31,7 @@ "undeploy": "cf undeploy z2ui5 --delete-services --delete-service-keys --delete-service-brokers", "deploy-test": "npm run build && fiori deploy --config ui5-deploy.yaml --testMode true", "build:cf": "ui5 build preload --clean-dest --config ui5-deploy.yaml --include-task=generateCachebusterInfo", - "transform": "node ../ci/app2string/trans2abap.js", + "transform": "node ../.github/app2string/trans2abap.js", "build:mta": "rimraf resources mta_archives && mbt build" }, "sapuxLayer": "CUSTOMER_BASE" diff --git a/package.json b/package.json index 8117d2aa..e3b2f2ae 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "description": "Layout Management for abap2UI5.", "scripts": { "syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ", - "downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes" + "downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes", + "js2abap": "node .github/app2string/trans2abap.js" }, "repository": { "type": "git",