Skip to content

build: remove libicu libraries (postgresql is built without icu support) #663

build: remove libicu libraries (postgresql is built without icu support)

build: remove libicu libraries (postgresql is built without icu support) #663

name: apply_common_files
on:
workflow_dispatch:
inputs:
debug:
description: "debug mode (0 => no, 1 => just diff)"
default: '0'
required: false
limit_to_repo:
descript: "if set limit to this repo"
default: ''
required: false
push:
paths:
- 'common_files/**'
- '.github/workflows/apply_common_files.yml'
- 'bin/**'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
- name: "set up system deps"
run: |
sudo apt-get update
sudo apt-get -y install yajl-tools python3 python3-pip git python3-setuptools-git python3-setuptools
sudo pip3 install git+https://github.com/metwork-framework/envtpl.git
sudo pip3 install git+https://github.com/metwork-framework/cookiecutter_hooks.git
sudo pip3 install PyGithub
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
- name: "validate"
env:
GITHUB_TOKEN: ${{ secrets.GHTOK }}
LIMIT_TO_REPO: ${{ github.event.inputs.limit_to_repo }}
run: |
make validate
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
- name: "apply"
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GHTOK }}
CLONE_USERNAME: ${{ secrets.CLONE_USERNAME }}
CLONE_PASSWORD: ${{ secrets.CLONE_PASSWORD }}
DEBUG: ${{ github.event.inputs.debug }}
LIMIT_TO_REPO: ${{ github.event.inputs.limit_to_repo }}
run: |
bin/apply_common_files.sh
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'