Skip to content

Commit

Permalink
Create buildPsModule-preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoNabas authored Jun 28, 2023
1 parent d155c18 commit 066ccf3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/buildPsModule-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: .NET

on:
push:
branches: [ "preview" ]

env:
PSGAL_APIKEY: ${{ secrets.PSGAL_APIKEY }}

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 7.0.x
- name: Build and Compress
run: |
.\Tools\Helpers\BuildPreview.ps1 -psgsec "$env:PSGAL_APIKEY"
- name: Automatic Releases
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "Preview"
prerelease: false
title: "WindowsUtils PowerShell Module"
files: WindowsUtils.zip

0 comments on commit 066ccf3

Please sign in to comment.