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