Compare commits

...

10 Commits

Author SHA1 Message Date
MaksimZhukov
eab7225c23 Merge pull request #21 from MaksimZhukov/v-mazhuk/fix-powerhell-issue-with-paths
Fix PowerShell issue with relative paths
2020-11-17 20:54:55 +03:00
MaksimZhukov
ba4d1dead0 Fix PowerShell issue with relative paths 2020-11-17 20:16:35 +03:00
MaksimZhukov
bbbdbbf479 Merge pull request #20 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/13/2020
2020-11-13 10:52:10 +03:00
Service account
078e4a8546 Update versions-manifest 2020-11-13 06:42:14 +00:00
MaksimZhukov
690124df27 Merge pull request #19 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/06/2020
2020-11-06 11:15:55 +03:00
Service account
5d20670749 Update versions-manifest 2020-11-06 08:13:48 +00:00
MaksimZhukov
e89bc70e56 Merge pull request #18 from MaksimZhukov/v-mazhuk/add-pull-request-event-trigger
Add ability to trigger packages generation on PRs
2020-11-03 15:16:25 +03:00
MaksimZhukov
889792e4fa Add ability to trigger packages generation on PRs 2020-11-02 19:52:43 +03:00
Maxim Lobanov
eba638186e Merge pull request #17 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 10/15/2020
2020-10-15 10:20:55 +03:00
Service account
808755602f Update versions-manifest 2020-10-15 07:04:24 +00:00
5 changed files with 168 additions and 11 deletions

View File

@@ -10,19 +10,26 @@ on:
description: 'Whether to publish releases'
required: true
default: 'false'
pull_request:
paths-ignore:
- 'versions-manifest.json'
- 'LICENSE'
- '**.md'
branches:
- 'main'
env:
VERSION: ${{ github.event.inputs.VERSION }}
VERSION: ${{ github.event.inputs.VERSION || '1.15.3' }}
defaults:
run:
shell: pwsh
jobs:
build_go:
name: Build Go ${{ github.event.inputs.VERSION }} [${{ matrix.platform }}]
name: Build Go ${{ github.event.inputs.VERSION || '1.15.3' }} [${{ matrix.platform }}]
runs-on: ubuntu-latest
env:
ARTIFACT_NAME: go-${{ github.event.inputs.VERSION }}-${{ matrix.platform }}-x64
ARTIFACT_NAME: go-${{ github.event.inputs.VERSION || '1.15.3' }}-${{ matrix.platform }}-x64
strategy:
fail-fast: false
matrix:
@@ -44,11 +51,11 @@ jobs:
path: ${{ runner.temp }}/artifact
test_go:
name: Test Go ${{ github.event.inputs.VERSION }} [${{ matrix.platform }}]
name: Test Go ${{ github.event.inputs.VERSION || '1.15.3' }} [${{ matrix.platform }}]
needs: build_go
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: go-${{ github.event.inputs.VERSION }}-${{ matrix.platform }}-x64
ARTIFACT_NAME: go-${{ github.event.inputs.VERSION || '1.15.3' }}-${{ matrix.platform }}-x64
strategy:
fail-fast: false
matrix:
@@ -89,7 +96,7 @@ jobs:
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup Go ${{ env.VERSION }}
uses: actions/setup-go@v2.1.1
uses: actions/setup-go@v2.1.3
with:
go-version: ${{ env.VERSION }}
@@ -110,7 +117,7 @@ jobs:
publish_release:
name: Publish release
if: github.event.inputs.PUBLISH_RELEASES == 'true'
if: github.event_name == 'workflow_dispatch' && github.event.inputs.PUBLISH_RELEASES == 'true'
needs: test_go
runs-on: ubuntu-latest
steps:

View File

@@ -1,5 +1,5 @@
using module "./builders/win-go-builder.psm1"
using module "./builders/nix-go-builder.psm1"
using module "./win-go-builder.psm1"
using module "./nix-go-builder.psm1"
<#
.SYNOPSIS

View File

@@ -1,4 +1,4 @@
using module "./builders/go-builder.psm1"
using module "./go-builder.psm1"
class NixGoBuilder : GoBuilder {
<#

View File

@@ -1,4 +1,4 @@
using module "./builders/go-builder.psm1"
using module "./go-builder.psm1"
class WinGoBuilder : GoBuilder {
<#

View File

@@ -1,4 +1,79 @@
[
{
"version": "1.15.5",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.15.5-361109907",
"files": [
{
"filename": "go-1.15.5-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.5-361109907/go-1.15.5-darwin-x64.tar.gz"
},
{
"filename": "go-1.15.5-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.5-361109907/go-1.15.5-linux-x64.tar.gz"
},
{
"filename": "go-1.15.5-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.5-361109907/go-1.15.5-win32-x64.zip"
}
]
},
{
"version": "1.15.4",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.15.4-349041590",
"files": [
{
"filename": "go-1.15.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.4-349041590/go-1.15.4-darwin-x64.tar.gz"
},
{
"filename": "go-1.15.4-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.4-349041590/go-1.15.4-linux-x64.tar.gz"
},
{
"filename": "go-1.15.4-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.4-349041590/go-1.15.4-win32-x64.zip"
}
]
},
{
"version": "1.15.3",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.15.3-308043678",
"files": [
{
"filename": "go-1.15.3-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.3-308043678/go-1.15.3-darwin-x64.tar.gz"
},
{
"filename": "go-1.15.3-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.3-308043678/go-1.15.3-linux-x64.tar.gz"
},
{
"filename": "go-1.15.3-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.15.3-308043678/go-1.15.3-win32-x64.zip"
}
]
},
{
"version": "1.15.2",
"stable": true,
@@ -74,6 +149,81 @@
}
]
},
{
"version": "1.14.12",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.14.12-361110298",
"files": [
{
"filename": "go-1.14.12-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.12-361110298/go-1.14.12-darwin-x64.tar.gz"
},
{
"filename": "go-1.14.12-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.12-361110298/go-1.14.12-linux-x64.tar.gz"
},
{
"filename": "go-1.14.12-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.12-361110298/go-1.14.12-win32-x64.zip"
}
]
},
{
"version": "1.14.11",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.14.11-349059275",
"files": [
{
"filename": "go-1.14.11-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.11-349059275/go-1.14.11-darwin-x64.tar.gz"
},
{
"filename": "go-1.14.11-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.11-349059275/go-1.14.11-linux-x64.tar.gz"
},
{
"filename": "go-1.14.11-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.11-349059275/go-1.14.11-win32-x64.zip"
}
]
},
{
"version": "1.14.10",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.14.10-308043811",
"files": [
{
"filename": "go-1.14.10-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.10-308043811/go-1.14.10-darwin-x64.tar.gz"
},
{
"filename": "go-1.14.10-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.10-308043811/go-1.14.10-linux-x64.tar.gz"
},
{
"filename": "go-1.14.10-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.14.10-308043811/go-1.14.10-win32-x64.zip"
}
]
},
{
"version": "1.14.9",
"stable": true,