fix indenting
This commit is contained in:
parent
1e28c3367a
commit
15784df8ae
54
.github/workflows/go.yml
vendored
54
.github/workflows/go.yml
vendored
@ -29,41 +29,41 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Organice
|
- name: Build Organice
|
||||||
run: |
|
run: |
|
||||||
cd organice_repo
|
cd organice_repo
|
||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
yarn cache clean
|
yarn cache clean
|
||||||
tar -czvf organice-${{ github.ref }}.tar.gz build
|
tar -czvf organice-${{ github.ref }}.tar.gz build
|
||||||
|
|
||||||
- name: Copy Organice into gavin
|
- name: Copy Organice into gavin
|
||||||
run: cp -r organice_repo/build organice
|
run: cp -r organice_repo/build organice
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
for i in openbsd darwin linux; do
|
for i in openbsd darwin linux; do
|
||||||
GOOS=${i} gover 1.16beta1 build -v -o gavin-${i}
|
GOOS=${i} gover 1.16beta1 build -v -o gavin-${i}
|
||||||
tar -czvf gavin-${i}.tgz gavin-${i}
|
tar -czvf gavin-${i}.tgz gavin-${i}
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: Release ${{ github.ref }}
|
release_name: Release ${{ github.ref }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||||
asset_path: ./gavin-openbsd.tgz
|
asset_path: ./gavin-openbsd.tgz
|
||||||
asset_name: gavin-openbsd.tgz
|
asset_name: gavin-openbsd.tgz
|
||||||
asset_content_type: application/tar+gzip
|
asset_content_type: application/tar+gzip
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user