Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 0 additions & 91 deletions .github/workflows/_job_build.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/_job_upload.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
Comment thread
kitsuvm marked this conversation as resolved.
Resolved

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive

- name: Determine Build Name
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
# If triggered by a tag, use the tag name and strip a leading 'v' if present
VERSION="${GITHUB_REF_NAME}"
else
# If triggered by a commit/PR, use the 7-character short Git SHA
VERSION="${GITHUB_SHA::7}"
fi
# Save it to the GitHub environment so subsequent steps can use it
echo "BUILD_VERSION=$VERSION" >> $GITHUB_ENV
echo "Configured build version: $VERSION"

- name: Apply patches
run: ./patches/protonprep-valve-staging.sh

- name: Configure and Build
run: |
mkdir build && cd build
../configure.sh --build-name=Proton-fox-${{ env.BUILD_VERSION }}
make redist

- name: Upload Artifacts
uses: actions/upload-artifact@v7
with:
name: proton-fox-${{ env.BUILD_VERSION }}
path: |
build/Proton-fox-${{ env.BUILD_VERSION }}.tar.gz
build/Proton-fox-${{ env.BUILD_VERSION }}.sha512sum
43 changes: 0 additions & 43 deletions .github/workflows/devel.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/release.yml

This file was deleted.