This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Release #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
jobs: | |
package: | |
uses: ./.github/workflows/reusable-package.yml | |
secrets: inherit | |
release: | |
needs: package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
- name: Create release | |
run: | | |
imagetag=$(cat artifacts/imagetag.txt) | |
tag="${imagetag#base-}" | |
gh release create "${tag}" \ | |
--notes "Arch Linux WSL modern distribution based on the Docker image \`archlinux:${imagetag}\`" \ | |
./artifacts/archlinux-${imagetag}.wsl \ | |
./artifacts/DistributionInfo.json | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |