Skip to content

Commit

Permalink
chore(templates): update release action with console do not track + `…
Browse files Browse the repository at this point in the history
… y` (#3890)

* chore(templates): update release action with `-y`

* fixes
  • Loading branch information
julienrbrt authored Jan 16, 2024
1 parent 1b76c2d commit 39a5ce9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ignite/templates/app/files/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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]
Expand All @@ -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 }}

0 comments on commit 39a5ce9

Please sign in to comment.