Skip to content

Commit

Permalink
Update the standard template.
Browse files Browse the repository at this point in the history
skyzyx committed Apr 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7791c26 commit dc4fa2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _download-and-package.gotmpl.yml
Original file line number Diff line number Diff line change
@@ -52,6 +52,11 @@ jobs:
package_version: {{ "${{" }} steps.lookup_version.outputs.package_version {{ "}}" }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Lookup latest version of package
id: lookup_version
env:
@@ -60,7 +65,7 @@ jobs:
echo "package_version=$(download-asset latest-tag -r '{{ .OwnerRepo }}' -s)" >> $GITHUB_OUTPUT
- name: Check to see if we've already built this version
uses: actions/cache/restore@v4
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: check
with:
key: "{{ .Package }}-{{ "${{" }} steps.lookup_version.outputs.package_version {{ "}}" }}"

0 comments on commit dc4fa2a

Please sign in to comment.