does this work

This commit is contained in:
Core 2022-08-03 20:59:38 +01:00
parent 36b78ecade
commit e1b95c1c2a
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -100,20 +100,33 @@ jobs:
dist/*.dmg dist/*.dmg
dist/latest-mac.yml dist/latest-mac.yml
- name: Upload Artifacts to Latest Release - name: Upload files to release
uses: softprops/action-gh-release@v1 uses: svenstaro/upload-release-action@v2
with: with:
body: Full changelog available [here](https://github.com/ciderapp/Cider/compare/stable...main) repo_name: ciderapp/cider-releases
files: | # A personal access token for the GitHub repository in which the release will be created and edited.
# It is recommended to create the access token with the following scopes: `repo, user, admin:repo_hook`.
repo_token: ${{ secrets.RELEASE_TOKEN }}
file_glob: true
file: |
dist/*.dmg dist/*.dmg
dist/latest-mac.yml dist/latest-mac.yml
name: Cider Version ${{ env.APP_VERSION }} (${{ env.GITHUB_REF_NAME }}) tag: v${{ env.APP_VERSION }}
tag_name: v${{ env.APP_VERSION }}
repository: ciderapp/cider-releases # - name: Upload Artifacts to Latest Release
token: ${{ secrets.GITHUB_TOKEN }} # uses: softprops/action-gh-release@v1
env: # with:
GITHUB_REPOSITORY: ciderapp/cider-releases # body: Full changelog available [here](https://github.com/ciderapp/Cider/compare/stable...main)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # files: |
# dist/*.dmg
# dist/latest-mac.yml
# name: Cider Version ${{ env.APP_VERSION }} (${{ env.GITHUB_REF_NAME }})
# tag_name: v${{ env.APP_VERSION }}
# repository: ciderapp/cider-releases
# token: ${{ secrets.RELEASE_TOKEN }}
# env:
# GITHUB_REPOSITORY: ciderapp/cider-releases
# GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}