Skip to content

Commit

Permalink
- Overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Dec 1, 2024
1 parent 48845c6 commit 6b0bccb
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,32 +90,23 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest' && matrix.self-contained == 'normal' }}
uses: actions/upload-artifact@v4
with:
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}${{ matrix.self-contained }}
name: build-artifact-${{ matrix.target }}
path: |
OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}.zip
src/Dockerfile
overwrite: true

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}${{ matrix.self-contained }}
name: build-artifact-${{ matrix.target }}
path: |
OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}.zip
overwrite: true

# Merge native executables into the same directory
merge:
runs-on: ubuntu-latest
needs: [ build ]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: artifacts
pattern: artifacts-*

release:
needs: merge
needs: build
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 6b0bccb

Please sign in to comment.