Skip to content

Commit

Permalink
fix: Use specific version of control (#378)
Browse files Browse the repository at this point in the history
* fix: Use specific version of control

* fix: typo

Signed-off-by: Ragot Geoffrey <[email protected]>

Signed-off-by: Ragot Geoffrey <[email protected]>
Co-authored-by: Ragot Geoffrey <[email protected]>
  • Loading branch information
flemzord and gfyrag committed Nov 24, 2022
1 parent e314442 commit a6ac8e4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/template_build-control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ jobs:
name: 'Build Control'
runs-on: ubuntu-latest
steps:
- name: Get latest release of Numary/Control
uses: rez0n/actions-github-release@main
id: control_release
env:
token: ${{ secrets.NUMARY_GITHUB_TOKEN }}
repository: "formancehq/control"
type: "stable"
- run: curl -OL ${{ steps.control_release.outputs.browser_download_url }}
- run: tar -zxvf numary-control-${{ steps.control_release.outputs.release }}.tar.gz
- run: rm -rf numary-control-${{ steps.control_release.outputs.release }}.tar.gz
- run: curl -OL https://github.com/numary/control/releases/download/1.2.0/numary-control-1.2.0.tar.gz
- run: tar -zxvf numary-control-1.2.0.tar.gz
- run: rm -rf numary-control-1.2.0.tar.gz
- uses: actions/upload-artifact@v2
with:
name: control-dist
path: ./**
path: ./**

0 comments on commit a6ac8e4

Please sign in to comment.