Skip to content

Commit f06a25a

Browse files
committed
feat: create a release when a version tag is pushed
1 parent 6a1337a commit f06a25a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
description: Create a GitHub release and attach built binaries when a version tag is pushed
4+
5+
on:
6+
push:
7+
tags:
8+
- 'v*'
9+
10+
steps:
11+
- name: Download all workflow run artifacts
12+
jobs:
13+
release:
14+
if: github.repository == 'warnermedia/gimme-aws-creds'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Download all workflow run artifacts
18+
uses: actions/download-artifact@v4
19+
with:
20+
path: ./artifacts
21+
- name: Create Release
22+
uses: softprops/action-gh-release@v2
23+
with:
24+
files: ./artifacts/**/*
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)