Skip to content

Commit

Permalink
gh-actions: fix artifact download glob pattern
Browse files Browse the repository at this point in the history
ignore dockerbuild artifacts as those are not meant to be seen by end users
  • Loading branch information
nikp123 committed Sep 5, 2024
1 parent f6956e0 commit b6dbbeb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/docker/archlinux/send/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ runs:
using: 'composite'
steps:
- name: Upload version artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: xava-x86_64.AppImage
path: build/xava-x86_64.AppImage

- name: Upload version artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: version.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/docker/windows/send/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
using: 'composite'
steps:
- name: Uploading artifact for ${{ matrix.system }}-${{ matrix.arch }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: xava-installer-${{ matrix.arch }}.exe
path: xava-installer-${{ matrix.arch }}.exe
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
- uses: actions/checkout@v3
- run: rm -rf *
- uses: actions/download-artifact@v4
with:
pattern: xava-*
- uses: actions/download-artifact@v4
with:
name: version.txt
- name: Reorganize release files
run: |
ls -R
Expand Down

0 comments on commit b6dbbeb

Please sign in to comment.