mirror of
https://github.com/actions/go-versions.git
synced 2025-07-23 07:38:21 +02:00
update
This commit is contained in:
parent
fdef7843ee
commit
5a7abdc250
9 changed files with 15 additions and 181 deletions
7
.github/workflows/build-go-packages.yml
vendored
7
.github/workflows/build-go-packages.yml
vendored
|
@ -13,7 +13,6 @@ on:
|
|||
|
||||
env:
|
||||
VERSION: ${{ github.event.inputs.VERSION }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
@ -108,12 +107,6 @@ jobs:
|
|||
run: |
|
||||
Install-Module Pester -Force -Scope CurrentUser
|
||||
Import-Module Pester
|
||||
$pesterParams = @{
|
||||
Path="./Go.Tests.ps1";
|
||||
Parameters=@{
|
||||
Version="$env:VERSION";
|
||||
}
|
||||
}
|
||||
Invoke-Pester -Script ./Go.Tests.ps1 -EnableExit
|
||||
working-directory: ./tests
|
||||
|
||||
|
|
9
.github/workflows/create-pr.yml
vendored
9
.github/workflows/create-pr.yml
vendored
|
@ -1,8 +1,11 @@
|
|||
name: Create Pull Request
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [create-pr]
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
create_pr:
|
||||
name: Create Pull Request
|
||||
|
@ -13,14 +16,12 @@ jobs:
|
|||
submodules: true
|
||||
|
||||
- name: Create versions-manifest.json
|
||||
shell: pwsh
|
||||
run: |
|
||||
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
||||
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
|
||||
-OutputFile "./versions-manifest.json" `
|
||||
-ConfigurationFile "./config/go-manifest-config.json"
|
||||
- name: Create GitHub PR
|
||||
shell: pwsh
|
||||
run: |
|
||||
$formattedDate = Get-Date -Format "MM/dd/yyyy"
|
||||
./helpers/github/create-pull-request.ps1 `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue