Build #136
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: Build | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
branches: | |
- '**' | |
permissions: write-all | |
jobs: | |
build: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-python@main | |
with: | |
python-version: '3.12' | |
- run: python -m pip install 'httpx[http2]' 'aiofiles' | |
- name: Run | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GL_TOKEN: ${{ secrets.GITLAB_TOKEN }} | |
run: | | |
python -B -u main.py | |
- name: Run | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
git branch timestamp | |
git checkout timestamp | |
date > timestamp | |
git add timestamp | |
git commit -m "Initial commit" | |
git push -f origin timestamp | |