build: try wildcard action versions #348

This commit is contained in:
Sören Weber 2022-11-05 13:25:17 +01:00
parent 542bd276f1
commit c104df474f
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
7 changed files with 12 additions and 12 deletions

View file

@ -4,7 +4,7 @@ runs:
using: composite using: composite
steps: steps:
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2.x
with: with:
hugo-version: 'latest' hugo-version: 'latest'

View file

@ -16,7 +16,7 @@ runs:
steps: steps:
- name: Get tag uniqueness - name: Get tag uniqueness
id: unique_tag id: unique_tag
uses: mukunku/tag-exists-action@v1 uses: mukunku/tag-exists-action@v1.x
with: with:
tag: ${{ env.MILESTONE }} tag: ${{ env.MILESTONE }}
env: env:
@ -25,7 +25,7 @@ runs:
- name: Get closed issues for milestone - name: Get closed issues for milestone
id: closed_issues id: closed_issues
uses: octokit/graphql-action@v2 uses: octokit/graphql-action@v2.x
with: with:
query: | query: |
query { query {
@ -39,7 +39,7 @@ runs:
- name: Get open issues for milestone - name: Get open issues for milestone
id: open_issues id: open_issues
uses: octokit/graphql-action@v2 uses: octokit/graphql-action@v2.x
with: with:
query: | query: |
query { query {

View file

@ -8,7 +8,7 @@ runs:
using: composite using: composite
steps: steps:
- name: Deploy site - name: Deploy site
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3.x
with: with:
github_token: ${{ env.GITHUB_TOKEN }} github_token: ${{ env.GITHUB_TOKEN }}
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public

View file

@ -11,12 +11,12 @@ runs:
using: composite using: composite
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v3 uses: actions/setup-node@v3.x
with: with:
node-version: '16' node-version: '16'
- name: Close milestone - name: Close milestone
uses: Akkjon/close-milestone@v2 uses: Akkjon/close-milestone@v2.x
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" uses: WyriHaximus/github-action-next-semvers@v1.x
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" uses: WyriHaximus/github-action-create-milestone@v1.x
with: with:
title: ${{ steps.semvers.outputs.patch }} title: ${{ steps.semvers.outputs.patch }}
env: env:

View file

@ -12,7 +12,7 @@ jobs:
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref != 'refs/heads/main') if: github.event_name != 'push' || (github.event_name == 'push' && github.ref != 'refs/heads/main')
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3.x
with: with:
submodules: true # Fetch Hugo themes (true OR recursive) submodules: true # Fetch Hugo themes (true OR recursive)

View file

@ -11,7 +11,7 @@ jobs:
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref == 'refs/heads/main') if: github.event_name != 'push' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3.x
with: with:
submodules: true # Fetch Hugo themes (true OR recursive) submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3.x
with: with:
submodules: true # Fetch Hugo themes (true OR recursive) submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod