Skip to content

Commit

Permalink
Merge pull request #109 from soumendrak/104-update-the-release-action
Browse files Browse the repository at this point in the history
104 update the release action
  • Loading branch information
soumendrak authored Mar 29, 2023
2 parents 50a5610 + 207497b commit 0289c7b
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 430 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.9.7'
PYTHON: '3.9.12'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9.7
python-version: 3.9.12
- name: Install dependencies
run: |
python -m pip install -U pip
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/license-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update Licence

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

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Merge PR
if: steps.license.outputs.pullRequestNumber != ''
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: gh pr merge --merge --delete-branch ${{ steps.license.outputs.pullRequestNumber }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Python Semantic Release
uses: aadhithya/py-semantic-release-action@master
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GH_TOKEN }}
repository_username: ${{ secrets.PYPI_USER }}
repository_password: ${{ secrets.PYPI_SECRET }}
repository_password: ${{ secrets.PYPI_SECRET }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Soumendra kumar sahoo
Copyright (c) 2023 Soumendra kumar sahoo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 0289c7b

Please sign in to comment.