Skip to content

Update package from Github #423

Update package from Github

Update package from Github #423

Workflow file for this run

name: Update package from Github
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
permissions:
# Required for add-and-commit
contents: write
jobs:
streamlink-update:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: yarn install
- name: Update package
run: yarn ts-node scripts/release.ts --upload
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes back to the repository
uses: EndBug/add-and-commit@v8
with:
branch: master
message: Automatic version update