mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
build: switch to wildcard version of actions #428
This commit is contained in:
parent
0bed2a7096
commit
0100506bec
4 changed files with 6 additions and 7 deletions
2
.github/actions/build_site/action.yaml
vendored
2
.github/actions/build_site/action.yaml
vendored
|
@ -4,7 +4,7 @@ runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2.6.0
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: 'latest'
|
hugo-version: 'latest'
|
||||||
|
|
||||||
|
|
3
.github/actions/check_milestone/action.yaml
vendored
3
.github/actions/check_milestone/action.yaml
vendored
|
@ -16,12 +16,11 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Get tag uniqueness
|
- name: Get tag uniqueness
|
||||||
id: unique_tag
|
id: unique_tag
|
||||||
uses: mukunku/tag-exists-action@v1.1.0
|
uses: mukunku/tag-exists-action@v1.2.0 # wildcard version @v1 not possible
|
||||||
with:
|
with:
|
||||||
tag: ${{ env.MILESTONE }}
|
tag: ${{ env.MILESTONE }}
|
||||||
env:
|
env:
|
||||||
MILESTONE: ${{ inputs.milestone }}
|
MILESTONE: ${{ inputs.milestone }}
|
||||||
GITHUB_TOKEN: ${{ inputs.github_token }}
|
|
||||||
|
|
||||||
- name: Get closed issues for milestone
|
- name: Get closed issues for milestone
|
||||||
id: closed_issues
|
id: closed_issues
|
||||||
|
|
2
.github/actions/deploy_site/action.yaml
vendored
2
.github/actions/deploy_site/action.yaml
vendored
|
@ -8,7 +8,7 @@ runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy site
|
- name: Deploy site
|
||||||
uses: peaceiris/actions-gh-pages@v3.9.0
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ env.GITHUB_TOKEN }}
|
github_token: ${{ env.GITHUB_TOKEN }}
|
||||||
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
|
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
|
||||||
|
|
|
@ -16,7 +16,7 @@ runs:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
|
|
||||||
- name: Close milestone
|
- name: Close milestone
|
||||||
uses: Akkjon/close-milestone@v2.0.1
|
uses: Akkjon/close-milestone@v2
|
||||||
with:
|
with:
|
||||||
milestone_name: ${{ env.MILESTONE }}
|
milestone_name: ${{ env.MILESTONE }}
|
||||||
env:
|
env:
|
||||||
|
@ -78,7 +78,7 @@ runs:
|
||||||
|
|
||||||
- name: Generate next version number
|
- name: Generate next version number
|
||||||
id: semvers
|
id: semvers
|
||||||
uses: WyriHaximus/github-action-next-semvers@v1.1.0
|
uses: WyriHaximus/github-action-next-semvers@v1
|
||||||
with:
|
with:
|
||||||
version: ${{ env.MILESTONE }}
|
version: ${{ env.MILESTONE }}
|
||||||
env:
|
env:
|
||||||
|
@ -86,7 +86,7 @@ runs:
|
||||||
GITHUB_TOKEN: ${{ inputs.github_token }}
|
GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
|
|
||||||
- name: Create next patch milestone
|
- name: Create next patch milestone
|
||||||
uses: WyriHaximus/github-action-create-milestone@v1.1.0
|
uses: WyriHaximus/github-action-create-milestone@v1
|
||||||
with:
|
with:
|
||||||
title: ${{ steps.semvers.outputs.patch }}
|
title: ${{ steps.semvers.outputs.patch }}
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue