Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilas committed Jun 23, 2023
1 parent 46c34c0 commit a51b4a4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ on:
jobs:
update:
name: Update ${{ github.workflow }}
runs-on: windows-latest
# runs-on: ubuntu-latest
# runs-on: windows-latest
runs-on: ubuntu-latest
timeout-minutes: 20

env:
# Set au version to use or omit to use the latest. Specify branch name to use development version from Github
au_version: release

defaults:
run:
shell: pwsh

steps:
# - name: Set up git
# if: ${{ !inputs.test }}
Expand All @@ -35,7 +39,6 @@ jobs:
uses: actions/checkout@v3

- name: Install AU
# shell: pwsh
run: |
git clone -q https://github.com/Thilas/au.git $Env:TEMP/au
. "$Env:TEMP/au/scripts/Install-AU.ps1" $Env:au_version
Expand All @@ -45,7 +48,6 @@ jobs:

- name: Update packages
id: updates
# shell: pwsh
run: |
$arguments = @{
Name = $Env:packages -replace ' ','' -split ','
Expand All @@ -68,13 +70,13 @@ jobs:

- name: Publish report
if: always() && hashFiles('report.md')
run: Get-Content 'report.md' -ErrorAction SilentlyContinue >> $Env:GITHUB_STEP_SUMMARY
run: Get-Content 'report.md' >> $Env:GITHUB_STEP_SUMMARY

- name: Prepare Packages artifact
if: always() && hashFiles('**/*.nupkg')
run: |
New-Item Packages -ItemType Directory
Get-ChildItem *.nupkg -Recurse | Move-Item -Destination Packages
Get-ChildItem '*.nupkg' -Recurse | Move-Item -Destination Packages
- name: Upload Packages artifact
if: always() && hashFiles('Packages/*.nupkg')
Expand Down

0 comments on commit a51b4a4

Please sign in to comment.