Skip to content

Commit

Permalink
Merge pull request #37 from CptOfEvilMinions/initial-cicd
Browse files Browse the repository at this point in the history
Update build pipeline - 6
  • Loading branch information
CptOfEvilMinions authored Dec 28, 2021
2 parents 4fd14ff + 8597f64 commit ea7b9c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tagged-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/}"
- name: Download osctrl binaries
uses: actions/download-artifact@v2
with:
name: osctrl-${{ matrix.components }}-${{ steps.vars.outputs.branch }}-${{ steps.vars.outputs.sha_short }}-${{ matrix.goos }}-${{ matrix.goarch }}
name: osctrl-${{ matrix.components }}-master-${{ steps.vars.outputs.sha_short }}-${{ matrix.goos }}-${{ matrix.goarch }}

- name: Rename binaries
run: |
mv osctrl-${{ matrix.components }}-${{ steps.vars.outputs.branch }}-${{ steps.vars.outputs.sha_short }}-${{ matrix.goos }}-${{ matrix.goarch }} \
mv osctrl-${{ matrix.components }}-master-${{ steps.vars.outputs.sha_short }}-${{ matrix.goos }}-${{ matrix.goarch }} \
osctrl-${{ matrix.components }}-${{ steps.vars.outputs.version }}-${{ matrix.goos }}-${{ matrix.goarch }}
######################################## Add binaries to release ########################################
Expand Down

0 comments on commit ea7b9c5

Please sign in to comment.