Skip to content

Commit fa476e2

Browse files
committed
fix: release workflow
1 parent f06a25a commit fa476e2

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,18 @@ on:
66
push:
77
tags:
88
- 'v*'
9-
9+
jobs:
10+
release:
11+
if: github.repository == 'warnermedia/gimme-aws-creds'
12+
runs-on: ubuntu-latest
1013
steps:
1114
- 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/**/*
15+
uses: actions/download-artifact@v4
16+
with:
17+
path: ./artifacts
18+
- name: Create Release
19+
uses: softprops/action-gh-release@v2
20+
with:
21+
files: ./artifacts/**/*
2522
env:
2623
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)