.github/workflows/update.yml #4
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
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- run: nix build nixpkgs#cacert | ||
- run: cp result/etc/ssl/certs/ca-bundle.crt cacert.pem | ||
- run: rm -rf result | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "Automated update" | ||
commit_author: "Scheduler <github-actions[bot]@users.noreply.github.com>" | ||
- name: Set Calver Version | ||
uses: Nelyx/[email protected] | ||
with: | ||
default_branch: "refs/heads/main" | ||
format: "YYYY.M.D" | ||
version_prefix: "v0." | ||
- uses: rickstaa/action-create-tag@v1 | ||
with: | ||
tag: "${{ PACKAGE_VERSION }}" | ||
Check failure on line 35 in .github/workflows/update.yml GitHub Actions / .github/workflows/update.ymlInvalid workflow file
|