mirror of
https://github.com/actions/go-versions.git
synced 2024-06-09 17:32:33 +02:00
Merge pull request #4 from nikita-bykov/migrate-go-versions
Migrate go versions
This commit is contained in:
commit
ed913f1008
9
.github/workflows/build-go-packages.yml
vendored
9
.github/workflows/build-go-packages.yml
vendored
|
@ -76,7 +76,7 @@ jobs:
|
|||
- name: Extract files
|
||||
run: |
|
||||
if ('${{ matrix.platform }}' -eq 'win32') {
|
||||
$artifactName = "${{ env.ARTIFACT_NAME }}.7z"
|
||||
$artifactName = "${{ env.ARTIFACT_NAME }}.zip"
|
||||
7z.exe x "$artifactName" -y | Out-Null
|
||||
} else {
|
||||
$artifactName = "${{ env.ARTIFACT_NAME }}.tar.gz"
|
||||
|
@ -165,8 +165,9 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
||||
script: |
|
||||
github.repos.createDispatchEvent({
|
||||
github.actions.createWorkflowDispatch({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
event_type: 'create-pr'
|
||||
});
|
||||
workflow_id: 'create-pr.yml',
|
||||
ref: 'main'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue