Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Apr 21, 2024
1 parent 2e54c76 commit e8f9b83
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Update-Copyright-Year
name: Update Copyright Year

on:
schedule:
- cron: '0 3 1 1 *'
workflow_dispatch:

jobs:
Update-Copyright-Year:
update:
runs-on: ubuntu-latest
steps:

Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: Release
name: PyPI Release

on:
create:
tags:
- v*

jobs:
tagged-release:
name: Release
release:
runs-on: ubuntu-latest
steps:

- name: Create Release for new Tag
uses: marvinpinto/action-automatic-releases@latest
with:
title: TMDbAPIs ${{ github.event.ref }}
title: ${{ secrets.REPO_NAME }} ${{ github.event.ref }}
repo_token: ${{ secrets.PAT }}
prerelease: false

Expand Down Expand Up @@ -47,8 +46,8 @@ jobs:
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
title: "${{ secrets.REPO_NAME }} ${{ github.event.ref }}: **Build Successful**"
color: 844716
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
color: 844716
username: Kobota
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/logo.png
author: PyPI
Expand All @@ -67,4 +66,4 @@ jobs:
username: Kobota
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
author: PyPI
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Tag New Version

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
tag-new-versions:
tag:
runs-on: ubuntu-latest
steps:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
run-tests:
run:
runs-on: ubuntu-20.04
strategy:
max-parallel: 1
Expand All @@ -30,7 +30,7 @@ jobs:
pip install -r requirements-dev.txt
python setup.py install
- name: Run tests
- name: Run Tests
env:
TMDB_APIKEY: ${{ secrets.TMDB_APIKEY }}
TMDB_SESSION: ${{ secrets.TMDB_SESSION }}
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.11
1.2.12

0 comments on commit e8f9b83

Please sign in to comment.