32 lines
820 B
YAML
Raw Normal View History

2024-12-14 17:32:29 +00:00
name: devranta build
run-name: devranta async devRant api client build and test
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Pull repo
run: git pull
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
2024-12-14 21:27:09 +00:00
- name: Ensure environment
run: make ensure_env
2024-12-14 17:32:29 +00:00
- name: Install package
run: make install
2024-12-14 21:27:09 +00:00
- name: Build new package
run: make build
2024-12-14 17:32:29 +00:00
- name: Test application
run: make test
- name: Push new packages
run: |
git add .
git config --global user.email "bot@molodetz.nl"
git config --global user.name "bot"
git commit -a -m "New build."
git push