Create window.yml

pull/2172/head
Fioren 2023-12-22 03:31:19 +07:00 committed by GitHub
parent 81bed0e5cc
commit fc9c9f0247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
.github/workflows/window.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: window
on:
workflow_dispatch:
permissions: write-all
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build and export
run: |
sudo docker build -t aria2-mingw - < Dockerfile.mingw
sudo docker run -t -d aria2-mingw
container_id=$(docker ps -q)
sudo docker cp "$container_id":./aria2/src/aria2c.exe ./aria2c.exe
env:
repository: ${{ github.repository }}
- name: Release
uses: softprops/action-gh-release@v0.1.15
with:
files: |
./aria2c.exe
name: Download
tag_name: all
body: Download Here