Skip to content

Commit bebc22e

Browse files
overwrite artifact if already exists
1 parent ab87da0 commit bebc22e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/tag-release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ on:
5151
change_set_version:
5252
description: "The change set version for deployments"
5353
value: ${{ jobs.tag_release.outputs.change_set_version }}
54-
next_version_tag:
55-
description: "The next version tag that will be created"
56-
value: ${{ jobs.tag_release.outputs.next_version_tag }}
5754
secrets:
5855
NPM_TOKEN:
5956
required: false
@@ -157,6 +154,7 @@ jobs:
157154
with:
158155
name: asdf_artifact
159156
path: asdf.tar.gz
157+
overwrite: true
160158

161159
- name: Prepare config artifact
162160
run: |
@@ -176,7 +174,6 @@ jobs:
176174
outputs:
177175
version_tag: ${{steps.output_version_tag.outputs.VERSION_TAG}}
178176
change_set_version: ${{ steps.output_change_set_version.outputs.CHANGE_SET_VERSION }}
179-
next_version_tag: ${{ steps.output_version_tag.outputs.NEXT_VERSION_TAG }}
180177
steps:
181178
- name: Fetch asdf artifact
182179
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53
@@ -308,7 +305,6 @@ jobs:
308305
fi
309306
echo "VERSION_TAG=${VERSION_TAG}" >> "$GITHUB_OUTPUT"
310307
echo "VERSION_TAG=${VERSION_TAG}" >> "$GITHUB_ENV"
311-
echo "NEXT_VERSION_TAG=${NEW_VERSION_TAG}" >> "$GITHUB_OUTPUT"
312308
env:
313309
GITHUB_TOKEN: ${{ github.token }}
314310
BRANCH_NAME: ${{ inputs.branch_name }}
@@ -350,7 +346,7 @@ jobs:
350346
body: |
351347
## Info
352348
[See code diff](${{ github.event.compare }})
353-
[Release workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) - Workflow ID: ${{ github.run_id }}
349+
[Release workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
354350
355351
It was initialized by [${{ github.event.sender.login }}](${{ github.event.sender.html_url }})
356352

0 commit comments

Comments
 (0)