Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dschowta authored Mar 25, 2020
1 parent c576d0a commit 266cded
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
matrix:
go-os: [linux, darwin, windows]
go-arch: [amd64]
include:
- os: linux
arch: arm
runs-on: ubuntu-latest

steps:
Expand All @@ -28,8 +31,11 @@ jobs:
name: hds-migrator-${{ matrix.go-os }}-${{ matrix.go-arch }}
# Directory containing files to upload
path: hds-migrator-${{ matrix.go-os }}-${{ matrix.go-arch }}
- name: Release
if: github.ref == 'ref/head/v*'
uses: softprops/action-gh-release@v0.1.5
- name: Upload releases
uses: svenstaro/upload-release-action@v1-release
with:
files: hds-migrator-${{ matrix.go-os }}-${{ matrix.go-arch }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: hds-migrator-*
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 266cded

Please sign in to comment.