diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ade988aca8..d8508ce145 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -66,6 +66,13 @@ jobs: GCCSDK_INSTALL_ENV: /opt/netsurf/${{ matrix.toolchain }}/env run: make -C sdk + - name: Write testament + run: | + echo "Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")" > /opt/netsurf/${{ matrix.toolchain }}/BUILD_INFO.txt + echo "Branch: ${{ github.ref_name }}" >> /opt/netsurf/${{ matrix.toolchain }}/BUILD_INFO.txt + echo "Commit: $(git rev-parse HEAD)" >> /opt/netsurf/${{ matrix.toolchain }}/BUILD_INFO.txt + echo "Subject: $(git log -1 --pretty=format:'%s')" >> /opt/netsurf/${{ matrix.toolchain }}/BUILD_INFO.txt + # Have to tar first to retain permissions # Exclude unneeded files to reduce size - name: Make tarball diff --git a/.github/workflows/cleanup.yaml b/.github/workflows/cleanup.yaml index 171676f4fe..dc221deafa 100644 --- a/.github/workflows/cleanup.yaml +++ b/.github/workflows/cleanup.yaml @@ -6,7 +6,7 @@ on: jobs: # Clean up temporary releases / tags for deleted branches cleanup: - name: "Cleanup '${{ github.event.ref }}' temporary release" + name: "Cleanup '${{ github.event.ref }}'" runs-on: ubuntu-latest # Only run for branch deletions, not tag deletions if: github.event.ref_type == 'branch'