Skip to content

Commit

Permalink
Fix GitHub Actions (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
machv committed Feb 6, 2024
1 parent 3b1457d commit 07c3e34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create-prerelase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
name: Create prerelease
if: "!contains(github.event.head_commit.message, '[no release]')"
runs-on: windows-2019
permissions:
# needed to create a release
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
name: Bump version
if: "!contains(github.event.head_commit.message, '[no release]')"
runs-on: windows-2019
permissions:
# needed to create a release
contents: write
outputs:
previous_tag: ${{ steps.bump.outputs.previous_tag }}
new_tag: ${{ steps.bump.outputs.new_tag }}
Expand Down
4 changes: 2 additions & 2 deletions Scripts/2_CreateParentDisks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If (-not $isAdmin) {
. $PSScriptRoot\0_Shared.ps1 # [!build-include-inline]

#Create Unattend for VHD
Function CreateUnattendFileVHD{
Function CreateUnattendFileVHD {
param (
[parameter(Mandatory=$true)]
[string]
Expand Down Expand Up @@ -1239,4 +1239,4 @@ If (!$LabConfig.AutoClosePSWindows) {
Read-Host | Out-Null
}

#endregion
#endregion

0 comments on commit 07c3e34

Please sign in to comment.