1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-11 06:24:35 +00:00

chore: moving all.sas logic to another action

This commit is contained in:
Allan
2023-10-17 16:05:32 +01:00
parent d8ea29bf8c
commit 814ecec94f
2 changed files with 32 additions and 10 deletions

View File

@@ -18,20 +18,10 @@ jobs:
- name: Install dependencies
run: |
npm ci
npm i -g @sasjs/cli@latest
- name: Check code style (aborts if errors found)
run: npx @sasjs/cli lint
- name: Ensure all.sas is always up to date
run: |
git config user.name github-actions
git config user.email github-actions@github.com
python3 build.py
git add all.sas
git commit -m "chore: updating all.sas"
git push
- name: Write VPN Files
run: |
echo "$CA_CRT" > .github/vpn/ca.crt

32
.github/workflows/notmain.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: SASjs Core - Update all.sas
on:
push:
branches-ignore:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
npm ci
npm i -g @sasjs/cli@latest
- name: Ensure all.sas is always up to date
run: |
git config user.name github-actions
git config user.email github-actions@github.com
python3 build.py
git add all.sas
git commit -m "chore: updating all.sas"
git push