fix dev CI checkout without node action
This commit is contained in:
@@ -11,13 +11,16 @@ jobs:
|
|||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
git clone --quiet --depth=1 --branch=${{ gitea.ref_name }} ${{ gitea.server_url }}/${{ gitea.repository }} repo
|
||||||
- name: Install Bats
|
- name: Install Bats
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y bats
|
sudo apt-get install -y bats
|
||||||
- name: Run Shell Tests
|
- name: Run Shell Tests
|
||||||
run: bats tests/shell/git_update.bats
|
run: |
|
||||||
|
cd repo
|
||||||
|
bats tests/shell/git_update.bats
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: gitea.ref_name == 'master'
|
if: gitea.ref_name == 'master'
|
||||||
|
|||||||
Reference in New Issue
Block a user