Skip to content

Commit

Permalink
Merge pull request #24 from CptOfEvilMinions/initial-cicd
Browse files Browse the repository at this point in the history
Upadate - 22
  • Loading branch information
CptOfEvilMinions authored Dec 28, 2021
2 parents 7769cca + 10d47fd commit fc5c992
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tagged-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Build osctrl-tls
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./bin/osctrl-${{ matrix.components }}-${{ github.ref }}-${{ matrix.goos }}-${{ matrix.goarch }}.bin ./${{ matrix.components }}
create_release:
needs: ['build']
runs-on: ubuntu-20.04
steps:
######################################## Create release ########################################
Expand All @@ -44,8 +45,8 @@ jobs:
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
####body_path: ./CHANGELOG.md####
needs: [build]
upload_relaese_binaries:
needs: ['build', 'create_release']
runs-on: ubuntu-20.04
strategy:
matrix:
Expand All @@ -64,4 +65,4 @@ jobs:
asset_path: ./bin/osctrl-${{ matrix.components }}-${{ github.ref }}-${{ matrix.goos }}-${{ matrix.goarch }}.bin
asset_name: osctrl-${{ matrix.components }}-${{ github.ref }}-${{ matrix.goos }}-${{ matrix.goarch }}.bin
asset_content_type: application/x-binary
needs: [build, create_release]

0 comments on commit fc5c992

Please sign in to comment.