Skip to content

Commit 6b0bccb

Browse files
committed
- Overwrite
1 parent 48845c6 commit 6b0bccb

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/main.yml

+5-14
Original file line numberDiff line numberDiff line change
@@ -90,32 +90,23 @@ jobs:
9090
if: ${{ matrix.os == 'ubuntu-latest' && matrix.self-contained == 'normal' }}
9191
uses: actions/upload-artifact@v4
9292
with:
93-
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}${{ matrix.self-contained }}
93+
name: build-artifact-${{ matrix.target }}
9494
path: |
9595
OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}.zip
9696
src/Dockerfile
97+
overwrite: true
9798

9899
- name: Upload artifacts
99100
uses: actions/upload-artifact@v4
100101
with:
101-
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}${{ matrix.self-contained }}
102+
name: build-artifact-${{ matrix.target }}
102103
path: |
103104
OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}.zip
105+
overwrite: true
104106

105-
106-
# Merge native executables into the same directory
107-
merge:
108-
runs-on: ubuntu-latest
109-
needs: [ build ]
110-
steps:
111-
- name: Merge Artifacts
112-
uses: actions/upload-artifact/merge@v4
113-
with:
114-
name: artifacts
115-
pattern: artifacts-*
116107

117108
release:
118-
needs: merge
109+
needs: build
119110
runs-on: ubuntu-latest
120111

121112
steps:

0 commit comments

Comments
 (0)