ci/installer: Switch to gitea-release-action
`release-action` is archived; its repository points at `gitea-release-action` as the replacement. The inputs were renamed (`api_key` -> `token`, `title` -> `name`). The new action is a Node one rather than Go, so the Go setup step kept in the previous commit is no longer needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,10 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-26.04
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Set up Go
|
|
||||||
uses: https://github.com/actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: '>=1.20.1'
|
|
||||||
- uses: DeterminateSystems/determinate-nix-action@v3
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
with:
|
with:
|
||||||
# Gitea will supply a token in GITHUB_TOKEN, which this action passes to
|
# Gitea will supply a token in GITHUB_TOKEN, which this action passes to
|
||||||
@@ -46,10 +42,10 @@ jobs:
|
|||||||
jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst
|
jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/gitea-release-action@main
|
||||||
with:
|
with:
|
||||||
title: Latest installer
|
name: Latest installer
|
||||||
api_key: '${{ secrets.RELEASE_TOKEN }}'
|
token: '${{ secrets.RELEASE_TOKEN }}'
|
||||||
files: |
|
files: |
|
||||||
jackos-installer-${{ steps.setup.outputs.short_rev }}.iso
|
jackos-installer-${{ steps.setup.outputs.short_rev }}.iso
|
||||||
jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst
|
jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst
|
||||||
|
|||||||
Reference in New Issue
Block a user