Skip to content

Commit 5039bac

Browse files
Update git-release.yml
1 parent ebbee09 commit 5039bac

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

.github/workflows/git-release.yml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,10 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
create_a:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
- run: mkdir -p path/to/artifact
15-
- run: echo hello > path/to/artifact/world.txt
16-
- uses: actions/upload-artifact@v2
17-
with:
18-
name: drop2
19-
path: path/to/artifact/world.txt
20-
2110
Git_Release:
22-
needs: create_a
2311
runs-on: ubuntu-latest
2412
steps:
25-
- uses: actions/checkout@v2
26-
27-
- name: Dowload this Artifact
28-
id: download
29-
uses: actions/download-artifact@v2
30-
with:
31-
name: drop2
32-
path: drop2
33-
- name: Display structure of downloaded files
34-
run: ls -R
35-
13+
- uses: actions/checkout@v2
3614
- name: Download workflow artifact
3715
uses: dawidd6/[email protected]
3816
with:
@@ -41,7 +19,6 @@ jobs:
4119
branch: main
4220
event: push
4321
name: drop
44-
path: drop
4522
- name: Github Release
4623
uses: docker://antonyurchenko/git-release:latest
4724
env:
@@ -52,5 +29,5 @@ jobs:
5229
ALLOW_EMPTY_CHANGELOG: "true"
5330
with:
5431
args: |
55-
${{ steps.download.outputs.download-path }}
32+
drop/**
5633

0 commit comments

Comments
 (0)