Skip to content

Update package from Github #380

Update package from Github

Update package from Github #380

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-twitch-gui-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@v9
with:
message: Automatic version update
push: true