Repositório APT #2145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repositório APT | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- '.editorconfig' | |
- 'leiame.md' | |
- 'readme.md' | |
- '*.jpg' | |
- '*.png' | |
- '*.svg' | |
- '_config.yml' | |
schedule: | |
- cron: '0 8,20 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configuração do ambiente de compilação | |
run: bash -x scripts/env.sh | |
- name: Compilação do repositório APT | |
run: bash scripts/build.sh | |
env: | |
GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }} | |
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} | |
BALTOREPO_TOKEN: ${{ secrets.BALTOREPO_TOKEN }} | |
- uses: otto-de/purge-deprecated-workflow-runs@v2 | |
with: | |
remove-cancelled: true | |
remove-failed: true | |
remove-obsolete: false | |
token: ${{ secrets.PAT }} | |
#remove-older-than: 7d |