Skip to content

Commit

Permalink
Merge #4117 Update Artifact Signing
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jul 5, 2024
2 parents ba63901 + c24fa56 commit dd61d9c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,30 @@ on:
configuration:
type: string
default: Debug
outputs:
repack-artifact-id:
description: "Artifact ID of the repack"
value: ${{ jobs.build.outputs.repack-artifact-id }}

jobs:
build:
runs-on: ubuntu-latest
outputs:
repack-artifact-id: ${{ steps.upload-repack-artifact.outputs.artifact-id }}
steps:
- uses: actions/checkout@v4
- name: Restore cache for _build/tools
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: _build/tools
key: build-tools-${{ hashFiles('build', 'build.ps1', 'build.cake') }}
- name: Restore cache for _build/cake
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: _build/cake
key: build-cake-${{ hashFiles('build.cake') }}
- name: Restore cache for _build/lib/nuget
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
_build/lib/nuget
Expand All @@ -32,6 +38,7 @@ jobs:
- name: Build ckan.exe and netkan.exe
run: ./build --configuration=${{ inputs.configuration }}
- name: Upload repack artifact
id: upload-repack-artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.configuration }}-repack-unsigned
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
outputs:
artifact-url: ${{steps.sign.outputs.signing-request-id }}
steps:
- uses: signpath/github-action-submit-signing-request@v0.3
- uses: signpath/github-action-submit-signing-request@v0.4
id: sign
with:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
organization-id: 0cd9fc3f-b78d-4214-b152-b2e93c952e14
project-slug: CKAN
signing-policy-slug: test-signing
github-artifact-name: Release-repack-unsigned
github-artifact-id: ${{ needs.smoke-inflator.outputs.repack-artifact-id }}
artifact-configuration-slug: release
wait-for-completion: true

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- synchronize
- reopened
workflow_call:
outputs:
repack-artifact-id:
description: "Artifact ID of the repack"
value: ${{ jobs.build-release.outputs.repack-artifact-id }}

jobs:
build-release:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ All notable changes to this project will be documented in this file.
- [Multiple] Build nuget package, support netstandard2.0 build (#4039 by: HebaruSan)
- [Core] Use fully sanitized archive.org bucket names (#4043 by: HebaruSan)
- [Netkan] Omit duplicate inflation warnings in queue (#4071 by: HebaruSan)
- [Build] Refactor + Modernise Actions (#4082, #4088, #4089, #4091, #4093, #4094, #4095 by: techman83, HebaruSan; reviewed: HebaruSan)
- [Build] Refactor + Modernise Actions (#4082, #4088, #4089, #4091, #4093, #4094, #4095, #4117 by: techman83, HebaruSan; reviewed: HebaruSan)
- [Multiple] Translation updates from Crowdin (#4105 by: vinix38, frankieorabona, ambition, Francesco Ricina, S.O.2; reviewed: HebaruSan)

## v1.34.4 (Niven)
Expand Down

0 comments on commit dd61d9c

Please sign in to comment.