Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
fix: fix release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Mar 19, 2024
1 parent 47e3b73 commit 92ad6df
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,36 +86,31 @@ jobs:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: artifact

- uses: actions/download-artifact@v4
with:
name: SDK-${{ github.sha }}
path: sdk-artifact

- run: |
cp CHANGELOG.md LICENSE README.md artifact/
shell: bash
- run: |
cp -r sdk-artifact/* artifact/
shell: bash
- run: |
zip -r ../${{ github.event.repository.name }}-windows-x64.zip *
working-directory: artifact
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.event.repository.name }}-windows-x64.zip
upload-sdk-to-release:
needs:
- prepare-sdk
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: SDK-${{ github.sha }}
path: sdk-artifact
shell: bash
- run: |
zip -r ../SDK-${{ github.sha }}.zip sdk-artifact/*
working-directory: sdk-artifact
shell: bash
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.event.repository.name }}-windows-x64.zip
SDK-${{ github.sha }}.zip

0 comments on commit 92ad6df

Please sign in to comment.