fix(ci): remove extra steps

This commit is contained in:
Michael Chris Lopez
2023-04-09 14:14:11 +08:00
parent 183ca1ce95
commit ada98d316d
2 changed files with 2 additions and 63 deletions

View File

@@ -7,13 +7,13 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: NTBBloodbath/selene-action@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: lua
docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
@@ -34,6 +34,7 @@ jobs:
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
build:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
@@ -50,13 +51,6 @@ jobs:
neovim: true
version: stable
- name: Setup git
run: |
printf 'BUILD_BRANCH=bot/build/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
- name: Checkout to build branch
run: git checkout -b ${BUILD_BRANCH}
- name: Run builder script
run: |
mkdir -p autoload/lightline/colorscheme colors/ lua/lualine extras
@@ -76,13 +70,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup git
run: |
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
- name: Checkout to style branch
run: git checkout -b ${STYLE_BRANCH}
- uses: JohnnyMorganz/stylua-action@v2
with:
version: latest