-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (41 loc) · 1.07 KB
/
artifacts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Artifacts (Package)
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '*/30 * * * *'
jobs:
build-artifacts:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
id: checkout-code
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup problem matcher
uses: Joshua-Ashton/gcc-problem-matcher@v2
- name: Build release
id: build-release
uses: Joshua-Ashton/arch-mingw-github-action@v8
with:
command: |
pacman -Syu --noconfirm git
. ./build-master.sh --github --force
echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV
- name: Create releases
id: create-releases
uses: softprops/action-gh-release@v1
with:
name: "DXVK Async Automated Build"
tag_name: ${{ env.PACKAGE_NAME }}
body_path: INFO.md
fail_on_unmatched_files: true
draft: false
files: |
./build/*.tar.gz
./build.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}