Apple Music ALAC / Dolby Atmos Downloader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.3 KiB

7 months ago
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
4 months ago
build-windows:
7 months ago
runs-on: windows-latest
steps:
2 months ago
- uses: actions/checkout@v4
7 months ago
- name: Set up Go
2 months ago
uses: actions/setup-go@v5
7 months ago
with:
go-version: '1.20'
- name: Build
run: |
go build -o main.exe -v ./main.go
5 months ago
- name: Create a new directory and copy files
run: |
mkdir -p alac
cp agent.js alac/
cp config.yaml alac/
5 months ago
cp README.md alac/
5 months ago
cp main.exe alac/
4 months ago
- name: Upload apple-music-alac-atmos-downloader
2 months ago
uses: actions/upload-artifact@v4
4 months ago
with:
name: apple-music-alac-atmos-downloader-windows
path: alac/*
7 months ago
4 months ago
build-linux:
runs-on: ubuntu-latest
steps:
2 months ago
- uses: actions/checkout@v4
4 months ago
- name: Set up Go
2 months ago
uses: actions/setup-go@v5
4 months ago
with:
go-version: '1.20'
- name: Build
run: |
go build -o main -v ./main.go
- name: Create a new directory and copy files
run: |
mkdir -p alac
cp agent.js alac/
cp config.yaml alac/
cp README.md alac/
cp main alac/
5 months ago
- name: Upload apple-music-alac-atmos-downloader
2 months ago
uses: actions/upload-artifact@v4
7 months ago
with:
4 months ago
name: apple-music-alac-atmos-downloader-linux
path: alac/*