|
|
|
@ -12,7 +12,6 @@ jobs: |
|
|
|
|
runs-on: windows-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
- name: Set up Go |
|
|
|
|
uses: actions/setup-go@v4 |
|
|
|
|
with: |
|
|
|
@ -23,21 +22,17 @@ jobs: |
|
|
|
|
go build -o main.exe -v ./main.go |
|
|
|
|
go build -o main_atmos.exe -v ./main_atmos.go |
|
|
|
|
go build -o main_select.exe -v ./main_select.go |
|
|
|
|
|
|
|
|
|
- name: Upload main.exe |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
|
name: apple-music-alac-atmos-downloader-main |
|
|
|
|
path: main.exe |
|
|
|
|
|
|
|
|
|
- name: Upload main_atmos.exe |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
|
name: apple-music-alac-atmos-downloader-atmos |
|
|
|
|
path: main_atmos.exe |
|
|
|
|
|
|
|
|
|
- name: Upload main_select.exe |
|
|
|
|
- name: Create a new directory and copy files |
|
|
|
|
run: | |
|
|
|
|
mkdir -p alac |
|
|
|
|
cp agent.js alac/ |
|
|
|
|
cp config.yaml alac/ |
|
|
|
|
cp main.exe alac/ |
|
|
|
|
cp main_atmos.exe alac/ |
|
|
|
|
cp main_select.exe alac/ |
|
|
|
|
|
|
|
|
|
- name: Upload apple-music-alac-atmos-downloader |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
|
name: apple-music-alac-atmos-downloader-select |
|
|
|
|
path: main_select.exe |
|
|
|
|
name: apple-music-alac-atmos-downloader |
|
|
|
|
path: alac/* |