diff --git a/.github/workflows/debug-release.yml b/.github/workflows/debug-release.yml index e8b3f0a..45e2d9f 100644 --- a/.github/workflows/debug-release.yml +++ b/.github/workflows/debug-release.yml @@ -4,6 +4,8 @@ on: push: branches: - 'main' + tags-ignore: + - 'v*' jobs: build: uses: ./.github/workflows/ci-autobuild.yml @@ -43,9 +45,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator - asset_name: RegeltestCreator + asset_name: RegeltestCreator_linux_${{ needs.build.outputs.version }} asset_content_type: application/octet-stream - name: Upload Release Asset id: upload-release-asset-macos @@ -53,9 +55,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator.app.zip - asset_name: RegeltestCreator.app.zip + asset_name: RegeltestCreator_macos_${{ needs.build.outputs.version }}.app.zip asset_content_type: application/zip - name: Upload Release Asset id: upload-release-asset-windows @@ -63,7 +65,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator.exe - asset_name: RegeltestCreator.exe + asset_name: RegeltestCreator_windows_${{ needs.build.outputs.version }}.exe asset_content_type: application/vnd.microsoft.portable-executable \ No newline at end of file diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 613c78a..ed59eaf 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -46,9 +46,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator - asset_name: RegeltestCreator + asset_name: RegeltestCreator_linux_${{ needs.build.outputs.version }} asset_content_type: application/octet-stream - name: Upload Release Asset id: upload-release-asset-macos @@ -56,9 +56,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator.app.zip - asset_name: RegeltestCreator.app.zip + asset_name: RegeltestCreator_macos_${{ needs.build.outputs.version }}.app.zip asset_content_type: application/zip - name: Upload Release Asset id: upload-release-asset-windows @@ -66,7 +66,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./RegeltestCreator.exe - asset_name: RegeltestCreator.exe + asset_name: RegeltestCreator_windows_${{ needs.build.outputs.version }}.exe asset_content_type: application/vnd.microsoft.portable-executable \ No newline at end of file