From 7512423b046cc8d117c7e6e065ffc81b5248a4f2 Mon Sep 17 00:00:00 2001 From: Allan Date: Tue, 17 Oct 2023 15:57:29 +0100 Subject: [PATCH] fix: bumping semantic release and checkout actions to v4 --- .github/workflows/main.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eea54cb1..d0c87f15 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies run: npm ci @@ -21,6 +21,15 @@ jobs: - 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 @@ -52,7 +61,7 @@ jobs: echo "REFRESH_TOKEN=${{secrets.SAS9_4GL_IO_REFRESH_TOKEN}}" >> .env.server - name: Semantic Release - uses: cycjimmy/semantic-release-action@v3 + uses: cycjimmy/semantic-release-action@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}