clusterflux-public/.forgejo/workflows/public-release-dryrun.yml
Disasmer release dry run 882474cfac Public dry run dryrun-c856992c56e4
Source commit: c856992c56e4da1266cd1c944ed59d798ad44995

Public tree identity: sha256:d142479c36b698fd20094edbf7c4fe1c1e01b1aa4553132180e67d1240a45ca6
2026-07-01 18:49:59 +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