Skip to content

Commit

Permalink
Test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Oct 18, 2023
1 parent 8cfc80f commit 569e105
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,21 +180,9 @@ jobs:
# if: ${{ startsWith(matrix.mode, 'windows') }}
# uses: microsoft/[email protected]

- name: 'Setup additional build environment variables'
if: ${{ !startsWith(matrix.mode, 'windows') }}
id: setupUnix
run: |
echo "CACHE_DATE=$(date +"%Y-%m-%d")" >> $GITHUB_ENV
echo "commitHash=$(git rev-parse --short=9 HEAD)" >> $GITHUB_OUTPUT
echo "DEPS_BUILD_DIR=$(dirname ${{ github.workspace }})/obs-build-dependencies_${{ matrix.target_arch }}" >> $GITHUB_ENV
- name: 'Setup additional build environment variables'
if: ${{ startsWith(matrix.mode, 'windows') }}
id: setupWindows
- name: 'Setup path for deps folder'
run: |
$CommitHash = git rev-parse --short=9 HEAD
"commitHash=${CommitHash}" >> $env:GITHUB_OUTPUT
"DEPS_BUILD_DIR=${{ github.workspace }}\\..\\obs-build-dependencies_${{ matrix.target_arch }}" >> $env:GITHUB_ENV
echo "DEPS_BUILD_DIR=${{ github.workspace }}/../obs-build-dependencies_${{ matrix.target_arch }}" >> $GITHUB_ENV
- name: 'Install dependencies'
run: ${{ matrix.install_dependencies }}
Expand Down Expand Up @@ -246,7 +234,7 @@ jobs:
- name: 'Upload build Artifact'
uses: actions/upload-artifact@v3
with:
name: 'obs-studio-${{ matrix.mode }}-${{ matrix.target_arch }}-${{ steps.setup.outputs.commitHash }}'
name: 'obs-studio-${{ matrix.mode }}-${{ matrix.target_arch }}-${{ github.run_number}}'
path: ${{ github.workspace }}/build/**/obs-webrtc-*.deb

# macos_build_x86_64:
Expand Down

0 comments on commit 569e105

Please sign in to comment.