mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-04 05:31:19 +01:00
push this as well XD
This commit is contained in:
48
.github/workflows/build.yml
vendored
Normal file
48
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
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: debug
|
||||
run: ls -Al && pwd
|
||||
|
||||
- name: Move x64 exe
|
||||
run: cp ./dist/SteamDepotDownloaderGUI*.exe ./SteamDepotDownloaderGUI-${{ github.run_number }}.exe
|
||||
|
||||
- name: Move x64 AppImage
|
||||
run: cp `ls -1 dist/ | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
|
||||
|
||||
- name: Move x64 zip
|
||||
run: cp ./dist/steamdepotdownloadergui-*.zip ./SteamDepotDownloaderGUI-${{ github.run_number }}.zip
|
||||
|
||||
- name: Move arm64 AppImage
|
||||
run: cp `ls -1 dist/ | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\-arm64.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
|
||||
|
||||
- name: Move arm64 zip
|
||||
run: cp ./dist/steamdepotdownloadergui-*.*.*-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 }}*.{exe,AppImage,zip}
|
||||
Reference in New Issue
Block a user