Skip to content

Commit

Permalink
ci: run with python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Jun 19, 2024
1 parent e8c3ddb commit 7c0829b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- '.github/workflows/release.yml'
- '**/*.py'
- 'Dockerfile'
pull_request:
branches:
- master

jobs:
release:
Expand All @@ -21,7 +24,7 @@ jobs:
pull-requests: write
outputs:
released: ${{ steps.github-release.outputs.released }}
new_release_version: ${{ steps.github-release.outputs.new_release_version }}
new_release_version: ${{ steps.github-release.outputs.next_version }}
steps:
- name: GitHub App Token
uses: actions/create-github-app-token@v1
Expand All @@ -35,8 +38,6 @@ jobs:
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -54,8 +55,6 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ steps.app-token.outputs.token }}
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

docker:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/steam-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
- cron: "30 18 * * 0"
workflow_dispatch:
push:
branches:
- master
paths:
- '.github/workflows/steam-stats.yml'
- 'api/*.py'
pull_request:
branches:
- master

jobs:
update-readme:
Expand All @@ -24,7 +28,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }}

- name: Update Steam Stats in README
run: python api/main.py
run: python3 api/main.py
env:
INPUT_STEAM_API_KEY: ${{ secrets.STEAM_API_KEY }}
INPUT_STEAM_ID: ${{ vars.STEAM_ID }}
Expand Down

0 comments on commit 7c0829b

Please sign in to comment.