release #9
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: release | |
on: | |
schedule: | |
- cron: "0 4 * * 0" # 4:00 UTC every Sunday | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: make fortune dat | |
run: | | |
sudo apt install -y fortune-mod | |
python format.py | |
- name: upload artifact to release | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: True | |
prerelease: False | |
tag: "continuous" | |
omitBody: True | |
omitBodyDuringUpdate: True | |
omitNameDuringUpdate: True | |
artifacts: "output/vndb*" | |
token: ${{ secrets.GITHUB_TOKEN }} |