clusterflux-public/.forgejo/workflows/public-release-dryrun.yml
Disasmer release dry run 28414a6e83 Public dry run dryrun-fc8380260013
Source commit: fc8380260013119c2535fa0ec860c9e0581c5896

Public tree identity: sha256:2edc3fda481ae8b3b5f4949811e496ec787aa436aa26bd070e14ac410ba75adc
2026-07-03 15:28:47 +02:00

84 lines
2.4 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 npm
- name: Tool versions
run: |
rustc --version
cargo --version
node --version
npm --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
npm --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