clusterflux-public/.forgejo/workflows/public-release-dryrun.yml
Disasmer release dry run 8b11b88146 Public dry run dryrun-8bfdd8cef231
Source commit: 8bfdd8cef23135fc1d8c9f3d74c54444b500cca8

Public tree identity: sha256:d501c4af6dfe7b1b52000bc1f5c256e001440f81f3c1e00e3615a8a84da21693
2026-07-01 15:35:27 +02:00

82 lines
2.3 KiB
YAML

name: Public release dry run assets
on:
workflow_dispatch:
inputs:
release_name:
description: Forgejo Release name or tag for the dry run.
required: false
public_repo_url:
description: Public Forgejo repository URL at git.michelpaulissen.com.
required: false
jobs:
linux-assets:
runs-on: docker
container:
image: rust:1-bookworm
timeout-minutes: 60
env:
DISASMER_PUBLIC_RELEASE_NAME: ${{ inputs.release_name }}
DISASMER_PUBLIC_REPO_URL: ${{ inputs.public_repo_url }}
DISASMER_DNS_PUBLICATION_STATE: not-published
DISASMER_RESOLVER_OVERRIDE: required-for-dry-run
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
run: |
apt-get update
apt-get install --yes nodejs
- name: Tool versions
run: |
rustc --version
cargo --version
node --version
tar --version
- name: Prepare public release assets
run: node scripts/prepare-public-release-dryrun.js
- name: Upload dry-run assets
uses: actions/upload-artifact@v4
with:
name: public-release-dryrun-linux-assets
path: |
target/public-release-dryrun/assets/*
target/public-release-dryrun/public-release-manifest.json
windows-assets:
# Manual on purpose: the Forgejo Windows runner is intermittently online.
runs-on: windows
timeout-minutes: 60
env:
DISASMER_PUBLIC_RELEASE_NAME: ${{ inputs.release_name }}
DISASMER_PUBLIC_REPO_URL: ${{ inputs.public_repo_url }}
DISASMER_DNS_PUBLICATION_STATE: not-published
DISASMER_RESOLVER_OVERRIDE: required-for-dry-run
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
shell: pwsh
run: |
rustc --version
cargo --version
node --version
tar --version
- name: Prepare public release assets
shell: pwsh
run: node scripts/prepare-public-release-dryrun.js
- name: Upload dry-run assets
uses: actions/upload-artifact@v4
with:
name: public-release-dryrun-windows-assets
path: |
target/public-release-dryrun/assets/*
target/public-release-dryrun/public-release-manifest.json