forked from coop-cloud-mirrors/godotenv
Compare commits
5 Commits
v1.4.0
...
non-amd-te
Author | SHA1 | Date | |
---|---|---|---|
cbda1cc5ce | |||
38a8505415 | |||
a7538440ac | |||
a21980f2ad | |||
68a9acd049 |
32
.github/workflows/release.yml
vendored
32
.github/workflows/release.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user