Skip to content

Commit

Permalink
make artifact from all
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed Mar 12, 2023
1 parent 2dce9c2 commit 86c6884
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
name: build-${{ matrix.public_url }}
path: ${{ matrix.public_url }}.zip
if-no-files-found: error
release:
name: Create release
merge:
name: Merge zips into one
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -67,6 +67,21 @@ jobs:
ls
zip -r all.zip */*
ls
- name: Upload
uses: actions/upload-artifact@master
with:
name: all
path: build-all/all.zip
if-no-files-found: error
release:
name: Create release
runs-on: ubuntu-latest
needs: merge
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
path: .
- name: Create release
if: ${{ github.event.inputs.publish }}
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -76,4 +91,4 @@ jobs:
automatic_release_tag: "v${{ github.event.inputs.version }}"
draft: ${{ github.event.inputs.draft }}
files: |
build-all/*.zip
*.zip

0 comments on commit 86c6884

Please # to comment.