Compare commits

..

5 Commits

Author SHA1 Message Date
cbda1cc5ce Comment out IBM Z for now and quieten apt-get 2020-11-11 12:45:16 +11:00
38a8505415 Include git 2020-11-11 12:05:55 +11:00
a7538440ac Update input to match action 2020-11-11 12:01:43 +11:00
a21980f2ad Try shifting env around 2020-11-11 11:53:22 +11:00
68a9acd049 Add non-amd64 tests 2020-11-11 11:44:16 +11:00
4 changed files with 1 additions and 41 deletions

View File

@ -1,32 +0,0 @@
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Upload Release Assets
jobs:
build:
name: Upload Release Assets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate build files
uses: thatisuday/go-cross-build@v1
with:
platforms: 'linux/amd64, linux/ppc64le, darwin/amd64, windows/amd64'
package: 'cmd/godotenv'
name: 'godotenv'
compress: 'true'
dest: 'dist'
- name: Publish Binaries
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
release_name: Release ${{ github.ref }}
tag: ${{ github.ref }}
file: dist/*
file_glob: true
overwrite: true

3
go.mod
View File

@ -1,3 +0,0 @@
module github.com/joho/godotenv
go 1.12

View File

@ -157,7 +157,7 @@ func Write(envMap map[string]string, filename string) error {
return err
}
defer file.Close()
_, err = file.WriteString(content + "\n")
_, err = file.WriteString(content)
if err != nil {
return err
}

View File

@ -1,5 +0,0 @@
{
"extends": [
"config:base"
]
}