mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-04 05:31:19 +01:00
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
on:
|
|
push:
|
|
branches:
|
|
- rewrite
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Check out repositoty
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up nodejs
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- name: Set up npm project
|
|
run: npm install
|
|
|
|
- name: build project
|
|
run: npm run buildall
|
|
|
|
- name: Move x64 exe
|
|
run: cp ./dist/SteamDepotDownloaderGUI*.exe ./SteamDepotDownloaderGUI-${{ github.run_number }}.exe
|
|
|
|
- name: Move x64 AppImage
|
|
run: cp `ls -d1 dist/* | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
|
|
|
|
- name: Move x64 zip
|
|
run: cp `ls -d1 dist/* | grep -E "steamdepotdownloadergui-[0-9]+\.[0-9]+\.[0-9]+\.zip"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.zip
|
|
|
|
- name: Move arm64 AppImage
|
|
run: cp `ls -d1 dist/* | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\-arm64.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
|
|
|
|
- name: Move arm64 zip
|
|
run: cp `ls -d1 dist/* | grep -E "steamdepotdownloadergui-[0-9]+\.[0-9]+\.[0-9]+\-arm64.zip"` ./SteamDepotDownloaderGUI-${{ github.run_number }}-arm64.zip
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: SteamDepotDownloaderGUI-${{ github.run_number }}
|
|
path: SteamDepotDownloaderGUI-${{ github.run_number }}*.* |