Skip to content

Commit

Permalink
build: switch to wildcard version of actions matcornic#428
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jan 4, 2023
1 parent 0bed2a7 commit 0100506
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build_site/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runs:
using: composite
steps:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'

Expand Down
3 changes: 1 addition & 2 deletions .github/actions/check_milestone/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ runs:
steps:
- name: Get tag uniqueness
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:
tag: ${{ env.MILESTONE }}
env:
MILESTONE: ${{ inputs.milestone }}
GITHUB_TOKEN: ${{ inputs.github_token }}

- name: Get closed issues for milestone
id: closed_issues
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/deploy_site/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- name: Deploy site
uses: peaceiris/actions-gh-pages@v3.9.0
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ env.GITHUB_TOKEN }}
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/release_milestone/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
node-version: '16'

- name: Close milestone
uses: Akkjon/close-milestone@v2.0.1
uses: Akkjon/close-milestone@v2
with:
milestone_name: ${{ env.MILESTONE }}
env:
Expand Down Expand Up @@ -78,15 +78,15 @@ runs:
- name: Generate next version number
id: semvers
uses: WyriHaximus/github-action-next-semvers@v1.1.0
uses: WyriHaximus/github-action-next-semvers@v1
with:
version: ${{ env.MILESTONE }}
env:
MILESTONE: ${{ inputs.milestone }}
GITHUB_TOKEN: ${{ inputs.github_token }}

- name: Create next patch milestone
uses: WyriHaximus/github-action-create-milestone@v1.1.0
uses: WyriHaximus/github-action-create-milestone@v1
with:
title: ${{ steps.semvers.outputs.patch }}
env:
Expand Down

0 comments on commit 0100506

Please sign in to comment.