Skip to content

Commit

Permalink
Move release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
benlye committed Feb 23, 2024
1 parent e05e7d1 commit fa77850
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,6 @@ jobs:
name: multi-${{ matrix.release }}
path: ./binaries/

- name: Deploy files to release
if: github.event_name == 'release' && github.event.action == 'created' && env.HAVE_FILES == 'true'
uses: AButler/upload-release-assets@v3.0
with:
files: './binaries/*'
repo-token: ${{ secrets.GITHUB_TOKEN }}

combine:
name: "[Deploy] Attach Files"
runs-on: ubuntu-latest
Expand All @@ -362,3 +355,19 @@ jobs:
pattern: multi-*
delete-merged: true
retention-days: 90

- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: multi-test-build
path: ./artifacts/

- name: Display structure of downloaded files
run: ls -R ./artifacts/

- name: Deploy files to release
if: github.event_name == 'release' && github.event.action == 'created'
uses: AButler/upload-release-assets@v3.0
with:
files: './artifacts/*'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fa77850

Please sign in to comment.