-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f86b315
commit c4a1909
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,20 +18,21 @@ jobs: | |
- name: Get version | ||
id: vars | ||
run: echo "version=$(cat ./version)" >> $GITHUB_OUTPUT | ||
# - name: Clone envs from gitlab | ||
# run: | | ||
# git clone https://gitlab-ci-token:${{ secrets.GITLAB_CR_PAT }}@gitlab.com/target-digital-transformation/environment-store.git envs | ||
# cd envs && git checkout ${{ steps.vars.outputs.version }} && git remote set-url origin [email protected]:tespkg/enva-release | ||
# - name: Set up Go | ||
# uses: actions/setup-go@v5 | ||
# - name: Run GoReleaser | ||
# uses: goreleaser/goreleaser-action@v6 | ||
# with: | ||
# # either 'goreleaser' (default) or 'goreleaser-pro' | ||
# distribution: goreleaser | ||
# # 'latest', 'nightly', or a semver | ||
# version: "~> v2" | ||
# args: release --clean | ||
# workdir: envs | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: echo "Releasing enva version: ${{ steps.vars.outputs.version }}" | ||
- name: Clone envs from gitlab | ||
run: | | ||
git clone https://gitlab-ci-token:${{ secrets.GITLAB_CR_PAT }}@gitlab.com/target-digital-transformation/environment-store.git envs | ||
cd envs && git checkout ${{ steps.vars.outputs.version }} && git remote set-url origin [email protected]:tespkg/enva-release | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v6 | ||
with: | ||
# either 'goreleaser' (default) or 'goreleaser-pro' | ||
distribution: goreleaser | ||
# 'latest', 'nightly', or a semver | ||
version: "~> v2" | ||
args: release --clean | ||
workdir: envs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |