Skip to content

.github/workflows/update.yml #6

.github/workflows/update.yml

.github/workflows/update.yml #6

Workflow file for this run

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
id: "calver"
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: "${{ env.PACKAGE_VERSION }}"