Skip to content

Commit

Permalink
fix(release): use alternative release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Mar 18, 2024
1 parent b99ba8c commit d6a7577
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/gh_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,25 +188,13 @@ jobs:
pip install pyinstaller --upgrade
plenopticam/scripts/bundling/py2exe.bat
plenopticam/scripts/bundling/msi_auto-gen.bat
- name: Create tag in public repository
run: |
cd ${{github.workspace}}/plenopticam
git tag ${{ steps.get_tag.outputs.tag }}
git push --tags --porcelain
- name: Create Release
if: matrix.os == 'ubuntu-latest'
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_tag.outputs.tag }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: true
- name: Upload Release
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: svenstaro/upload-release-action@v2
with:
asset_paths: '["./dist/*"]'
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit d6a7577

Please sign in to comment.