Public dry run dryrun-309831e1e021
Source commit: 309831e1e021f962c118452336776fd9a94025f9 Public tree identity: sha256:6fa95c1745579bd6256dbeb3d476db0b07c2f24aa9213b0f7783ce1adfc8aca5
This commit is contained in:
commit
f22d0a5791
113 changed files with 39348 additions and 0 deletions
84
.forgejo/workflows/public-release-dryrun.yml
Normal file
84
.forgejo/workflows/public-release-dryrun.yml
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue