Update packages #826
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update packages | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '5 4 * * *' | |
permissions: | |
# Required for add-and-commit | |
contents: write | |
jobs: | |
packages-update: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: yarn install | |
- name: Update cryptomator | |
run: yarn ts-node scripts/cryptomator-release.ts --upload | |
env: | |
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update depressurizer | |
run: yarn ts-node scripts/depressurizer-release.ts --upload | |
env: | |
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Listary | |
run: yarn ts-node scripts/listary-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: | |
branch: master | |
message: Automatic version updates |