mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
build: try wildcard action versions #348
This commit is contained in:
parent
542bd276f1
commit
c104df474f
7 changed files with 12 additions and 12 deletions
2
.github/actions/build_site/action.yaml
vendored
2
.github/actions/build_site/action.yaml
vendored
|
@ -4,7 +4,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
uses: peaceiris/actions-hugo@v2.x
|
||||
with:
|
||||
hugo-version: 'latest'
|
||||
|
||||
|
|
6
.github/actions/check_milestone/action.yaml
vendored
6
.github/actions/check_milestone/action.yaml
vendored
|
@ -16,7 +16,7 @@ runs:
|
|||
steps:
|
||||
- name: Get tag uniqueness
|
||||
id: unique_tag
|
||||
uses: mukunku/tag-exists-action@v1
|
||||
uses: mukunku/tag-exists-action@v1.x
|
||||
with:
|
||||
tag: ${{ env.MILESTONE }}
|
||||
env:
|
||||
|
@ -25,7 +25,7 @@ runs:
|
|||
|
||||
- name: Get closed issues for milestone
|
||||
id: closed_issues
|
||||
uses: octokit/graphql-action@v2
|
||||
uses: octokit/graphql-action@v2.x
|
||||
with:
|
||||
query: |
|
||||
query {
|
||||
|
@ -39,7 +39,7 @@ runs:
|
|||
|
||||
- name: Get open issues for milestone
|
||||
id: open_issues
|
||||
uses: octokit/graphql-action@v2
|
||||
uses: octokit/graphql-action@v2.x
|
||||
with:
|
||||
query: |
|
||||
query {
|
||||
|
|
2
.github/actions/deploy_site/action.yaml
vendored
2
.github/actions/deploy_site/action.yaml
vendored
|
@ -8,7 +8,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Deploy site
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
uses: peaceiris/actions-gh-pages@v3.x
|
||||
with:
|
||||
github_token: ${{ env.GITHUB_TOKEN }}
|
||||
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
|
||||
|
|
|
@ -11,12 +11,12 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v3.x
|
||||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Close milestone
|
||||
uses: Akkjon/close-milestone@v2
|
||||
uses: Akkjon/close-milestone@v2.x
|
||||
with:
|
||||
milestone_name: ${{ env.MILESTONE }}
|
||||
env:
|
||||
|
@ -78,7 +78,7 @@ runs:
|
|||
|
||||
- name: Generate next version number
|
||||
id: semvers
|
||||
uses: "WyriHaximus/github-action-next-semvers@v1"
|
||||
uses: WyriHaximus/github-action-next-semvers@v1.x
|
||||
with:
|
||||
version: ${{ env.MILESTONE }}
|
||||
env:
|
||||
|
@ -86,7 +86,7 @@ runs:
|
|||
GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||
|
||||
- name: Create next patch milestone
|
||||
uses: "WyriHaximus/github-action-create-milestone@v1"
|
||||
uses: WyriHaximus/github-action-create-milestone@v1.x
|
||||
with:
|
||||
title: ${{ steps.semvers.outputs.patch }}
|
||||
env:
|
||||
|
|
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref != 'refs/heads/main')
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.x
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
|
||||
|
|
2
.github/workflows/deploy.yaml
vendored
2
.github/workflows/deploy.yaml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.x
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.x
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
|
Loading…
Reference in a new issue