Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/actions/upload_ide/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ inputs:
artifacts_dir:
description: 'IDE artifacts output directory'
required: true

outputs:
artifact-id:
description: 'output from actions/upload-artifact'
value: ${{ steps.upload.outputs.artifact-id }}

runs:
using: composite
steps:
Expand Down Expand Up @@ -35,6 +41,7 @@ runs:
fi
- name: Upload ${{inputs.suffix}}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
id: upload
with:
name: ${{inputs.os}}${{inputs.suffix}}-unsigned
if-no-files-found: 'error'
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/IntelliJ_IDEA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
build:
needs: get_version
uses: ./.github/workflows/ide_build_and_upload.yml
secrets: inherit
with:
artifacts_dir: out/idea-ce/artifacts
product: intellij_idea
Expand All @@ -67,10 +68,11 @@ jobs:
prerelease: false
draft: true
files: |
**/*.tar.gz
**/*.AppImage
**/*.zsync
**/*.exe
**/*.dmg
**/*.spdx.json

linux-*/*.tar.gz
linux-*/*.AppImage
linux-*/*.zsync
linux-*/*.spdx.json
windows-signed/rebased.exe
windows-signed/*.spdx.json
mac-*/*.dmg
mac-*/*.spdx.json
26 changes: 25 additions & 1 deletion .github/workflows/ide_build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ permissions: {}
jobs:
distributions:
runs-on: ubuntu-latest
outputs:
unsigned-windows-artifact-id: ${{ steps.upload-unsigned-artifact.outputs.artifact-id }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand All @@ -42,6 +44,7 @@ jobs:
artifacts_dir: ${{inputs.artifacts_dir}}
- name: upload-windows-x64
uses: ./.github/actions/upload_ide
id: upload-unsigned-artifact
with:
os: windows
suffix: .exe
Expand Down Expand Up @@ -169,4 +172,25 @@ jobs:
with:
os: linux
suffix: -${{ matrix.arch.appimage }}.AppImage
artifacts_dir: .
artifacts_dir: .
sign-windows-exe:
runs-on: ubuntu-latest
needs: distributions
steps:
- name: submit signing request
uses: signpath/github-action-submit-signing-request@b9d91eadd323de506c0c81cf0c7fe7438f3360fd
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '6fa8204e-d307-43a0-bd8b-39b0883fc150'
project-slug: 'rebased'
signing-policy-slug: 'release-signing'
github-artifact-id: '${{ needs.distributions.outputs.unsigned-windows-artifact-id }}'
wait-for-completion: true
output-artifact-directory: 'signed-exe'
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
id: upload
with:
name: windows-signed
if-no-files-found: 'error'
retention-days: 1
path: 'signed-exe/*'
4 changes: 4 additions & 0 deletions .signpath/policies/rebased/release-signing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github-policies:
runners:
allowed_groups:
- 'GitHub Actions' # GitHub-hosted runners
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ You can either download the installer `.exe` from [GitHub releases](https://gith
winget install detachhead.rebased --source winget
```

<table>
<tr>
<td><a href="https://signpath.io/"><img src="https://signpath.org/assets/favicon-50x50.png" alt="SignPath" width="32" /></a></td>
<td>Free code signing on Windows provided by <a href="https://signpath.io/">SignPath.io</a>, certificate by <a href="https://signpath.org/">SignPath Foundation</a></td>
</tr>
</table>

### macOS

Install with [homebrew](https://brew.sh/):
Expand Down
Loading