-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(templates): update release action with console do not track + `…
… y` (#3890) * chore(templates): update release action with `-y` * fixes
- Loading branch information
1 parent
1b76c2d
commit 39a5ce9
Showing
1 changed file
with
8 additions
and
6 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
# | ||
# This type of prelease is useful to make your bleeding-edge binaries available to advanced users. | ||
# | ||
# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your | ||
# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your | ||
# default branch. | ||
on: push | ||
|
||
|
@@ -22,16 +22,18 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Prepare Release Variables | ||
|
||
- name: Prepare Release Variables | ||
id: vars | ||
uses: ignite/cli/actions/release/vars@main | ||
|
||
- name: Issue Release Assets | ||
- name: Issue Release Assets | ||
uses: ignite/cli/actions/cli@main | ||
if: ${{ steps.vars.outputs.should_release == 'true' }} | ||
with: | ||
args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 -t darwin:arm64 | ||
args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 -t darwin:arm64 -y | ||
env: | ||
DO_NOT_TRACK: 1 | ||
|
||
- name: Delete the "latest" Release | ||
uses: dev-drprasad/[email protected] | ||
|
@@ -48,6 +50,6 @@ jobs: | |
with: | ||
tag_name: ${{ steps.vars.outputs.tag_name }} | ||
files: release/* | ||
prerelease: true | ||
prerelease: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |