Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangliu committed Jul 11, 2024
1 parent c11475c commit 81e3ec3
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,11 @@ jobs:
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /dVersion="${{ steps.get-version.outputs.VERSION }}" "./buildResources/setup.iss"
- name: Upload to Release
uses: actions/upload-release-asset@v1
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./dist/OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.exe
asset_name: ./OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.exe
asset_content_type: application/octet-stream
file: "./dist/OpenBlock-ExternalResources*"

build-mac:
needs: create-release
Expand All @@ -146,14 +143,11 @@ jobs:
run: ./buildResources/build-pkg.sh VERSION="${{ steps.get-version.outputs.VERSION }}"

- name: Upload to Release
uses: actions/upload-release-asset@v1
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./dist/OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.pkg
asset_name: ./OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.pkg
asset_content_type: application/octet-stream
file: "./dist/OpenBlock-ExternalResources*"

build-linux:
needs: create-release
Expand All @@ -171,11 +165,8 @@ jobs:
run: ./buildResources/build-deb.sh -v"${{ steps.get-version.outputs.VERSION }}"

- name: Upload to Release
uses: actions/upload-release-asset@v1
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./dist/OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.deb
asset_name: ./OpenBlock-ExternalResources-v${{ steps.get-version.outputs.VERSION }}.deb
asset_content_type: application/octet-stream
file: "./dist/OpenBlock-ExternalResources*"

0 comments on commit 81e3ec3

Please sign in to comment.