Skip to content

Commit

Permalink
testing new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Harrington committed Jul 12, 2024
1 parent f62534b commit 885ab0b
Showing 1 changed file with 11 additions and 63 deletions.
74 changes: 11 additions & 63 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,69 +107,17 @@ jobs:
run: |
echo "Downloads:"
ls -als
- name: Make gitHub release
uses: actions/create-release@v1
id: create_release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
prerelease: false
release_name: ${{ steps.version.outputs.version }}
tag_name: ${{ github.ref }}
files: |
CaDoodle-Linux-x86_64.AppImage
CaDoodle-Linux-x86_64.deb
CaDoodle-Windows-x86_64.exe
CaDoodle-Windows-x86_64.zip
CaDoodle-MacOS-x86_64.dmg
CaDoodle-MacOS-arm64.dmg
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: upload Linux AppImage
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-Linux-x86_64.AppImage
asset_name: CaDoodle-Linux-x86_64.AppImage
asset_content_type: application/octet-stream
- name: upload Debian
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-Linux-x86_64.deb
asset_name: CaDoodle-Linux-x86_64.deb
asset_content_type: application/octet-stream
- name: upload Windows exe
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-Windows-x86_64.exe
asset_name: CaDoodle-Windows-x86_64.exe
asset_content_type: application/exe
- name: upload Windows zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-Windows-x86_64.zip
asset_name: CaDoodle-Windows-x86_64.zip
asset_content_type: application/zip
- name: upload MacOS dmg x86
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-MacOS-x86_64.dmg
asset_name: CaDoodle-MacOS-x86_64.dmg
asset_content_type: application/octet-stream
- name: upload MacOS dmg arm
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: CaDoodle-MacOS-arm64.dmg
asset_name: CaDoodle-MacOS-arm64.dmg
asset_content_type: application/octet-stream

0 comments on commit 885ab0b

Please sign in to comment.