Skip to content

Update submodule CI/CD #55

Update submodule CI/CD

Update submodule CI/CD #55

Workflow file for this run

name: CI/CD
run-name: Update submodule CI/CD
on:
workflow_dispatch
jobs:
info:
runs-on: ubuntu-latest
steps:
- name: "💬 github"
run: |+
echo "Who launched: ${{ github.actor }}"
echo "On branch: ${{ github.ref_name }}"
echo "Commit sha: ${{ github.sha }}"
- name: "💬 Bin utils"
run: |+
make --version && echo
ar --version && echo
gcc --verbose && echo
python3 --version
test-ft_libft:
uses: Pixailz/ft_libft/.github/workflows/CI.yml@main
with:
is_called: true
update-ft_libft:
needs: test-ft_libft
runs-on: ubuntu-latest
steps:
- name: ☁️ Retrieve ft_libft repo
uses: actions/checkout@v3
with:
repository: "Pixailz/ft_libft"
submodules: recursive
token: ${{ secrets.PAT_ACTIONS }}
- name: ☁️ Update submodules
run: |+
git submodule update --remote --recursive
- name: 🔧 Update file with helper
run: make helper
- name: ☁️ Configure, commit and push
run: |+
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add . || true
git commit -m "[helper] submodule update spread" || true
git status && git push || true
test-ft_ping:
needs: update-ft_libft
runs-on: ubuntu-latest
steps:
- name: ☁️ Retrieve ft_ping
uses: actions/checkout@v3
with:
repository: "Pixailz/ft_ping"
submodules: recursive
token: ${{ secrets.PAT_ACTIONS }}
- name: ☁️ Update submodules
run: |+
git submodule update --remote --recursive
- name: 🔧 test ft_ping
run: make
- name: ☁️ Configure, commit and push
run: |+
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add . || true
git commit -m "[helper] submodule update spread" || true
git status && git push || true
test-SupaBlank:
needs: update-ft_libft
runs-on: ubuntu-latest
steps:
- name: ☁️ Retrieve SupaBlank repo
uses: actions/checkout@v3
with:
repository: "Pixailz/SupaBlank"
submodules: recursive
token: ${{ secrets.PAT_ACTIONS }}
- name: ☁️ Update submodules
run: |+
git submodule update --remote --recursive
- name: 🔧 test SupaBlank
run: make
- name: ☁️ Configure, commit and push
run: |+
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add . || true
git commit -m "[helper] submodule update spread" || true
git status && git push || true