Skip to content

Commit

Permalink
Disable goreleaser releases and upload all artifacts manually.
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Kämmerling <[email protected]>
  • Loading branch information
LKaemmerling committed Jan 29, 2020
1 parent 5dcdb0a commit d4cb5fb
Showing 1 changed file with 37 additions and 9 deletions.
46 changes: 37 additions & 9 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,26 @@ jobs:
HC_APPLE_DEVELOPER_USER: ${{ secrets.HC_APPLE_DEVELOPER_USER }}
HC_APPLE_DEVELOPER_PASSWORD: ${{ secrets.HC_APPLE_DEVELOPER_PASSWORD }}
HC_APPLE_IDENTITY: ${{ secrets.HC_APPLE_IDENTITY }}

- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: hcloud ${{ github.ref }}
draft: true
prerelease: false
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: hcloud ${{ github.ref }}
draft: true
prerelease: false
- name: Upload Changelog File
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/CHANGELOG.md
asset_name: CHANGELOG.md
asset_content_type: text/plain
- name: Upload Checksums File
uses: actions/[email protected]
env:
Expand Down Expand Up @@ -75,6 +85,24 @@ jobs:
asset_path: ./dist/hcloud-freebsd-386.tar.gz
asset_name: hcloud-freebsd-386.tar.gz
asset_content_type: application/gzip
- name: Upload FreeBSD armv6
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/hcloud-freebsd-armv6.tar.gz
asset_name: hcloud-freebsd-armv6.tar.gz
asset_content_type: application/gzip
- name: Upload FreeBSD armv7
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/hcloud-freebsd-armv7.tar.gz
asset_name: hcloud-freebsd-armv7.tar.gz
asset_content_type: application/gzip
- name: Upload Linux 386
uses: actions/[email protected]
env:
Expand Down

0 comments on commit d4cb5fb

Please sign in to comment.