Actions: create builds when manually triggered

pull/35/head
Miepee 4 years ago committed by GitHub
parent 1f2c57c157
commit 24cd527aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,7 @@
name: Build
on:
workflow_dispatch:
push:
branches: [ main ]
paths-ignore:
@ -44,11 +45,11 @@ jobs:
- name: Build
working-directory: ./AM2RLauncher
run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}"
# Steps for uploading artifacts. We don't need them currently, so they're commented out.
#- name: Zip to Archive
# run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }}
#- name: Upload Artifacts
# uses: actions/upload-artifact@v1.0.0
# with:
# name: ${{ matrix.os }}
# path: ${{ matrix.os }}.zip
# Steps for uploading artifacts.
- name: Zip to Archive
run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }}
- name: Upload Artifacts
uses: actions/upload-artifact@v1.0.0
with:
name: ${{ matrix.os }}
path: ${{ matrix.os }}.zip

Loading…
Cancel
Save