Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitenite committed Jul 11, 2024
1 parent 0c0ac82 commit 9e1c902
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,34 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release_on_${{ matrix. os }}
path: app/release/
retention-days: 5
retention-days: 5

- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: release_on_${{ matrix.os }}

- name: Create Release
id: create_release
uses: actions/create-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.sha }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release_on_${{ matrix.os }}.zip
asset_name: release_on_${{ matrix.os }}.zip
asset_content_type: application/zip

0 comments on commit 9e1c902

Please sign in to comment.