Skip to content

Commit

Permalink
workflow: actually tag the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pho committed Apr 10, 2024
1 parent e469f0e commit d60525e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on:
push:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
Expand All @@ -11,22 +12,21 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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]
id: setcalver
- uses: Nelyx/[email protected]
with:
default_branch: "refs/heads/main"
format: "YYYY.M.D"
format: "YYYYMMDD"
version_prefix: "v0."

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automated update"
commit_author: "Workflow <github-actions[bot]@users.noreply.github.com>"
tagging_message: "${{ env.PACKAGE_VERSION }}"

0 comments on commit d60525e

Please sign in to comment.