Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Plutoberth committed Apr 26, 2023
1 parent c8f60c0 commit 77d1184
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true

- name: Download Packages
run: ${{ matrix.script }}

Expand All @@ -46,8 +46,8 @@ jobs:
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/Client/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE

Expand All @@ -57,12 +57,12 @@ jobs:
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.2
uses: actions/upload-artifact@v3
with:
# Artifact name
name: ${{ matrix.artifact_name }}
# A file, directory or wildcard pattern that describes what to upload
path: ${{github.workspace}}/${{matrix.binary_path}}
# The desired behavior if no files are found using the provided path.


10 changes: 5 additions & 5 deletions .github/workflows/xcodebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true

Expand All @@ -37,19 +37,19 @@ jobs:
working-directory: ${{github.workspace}}/Client/build
# Exports the archive to a .app file
run: xcodebuild -exportArchive -archivePath ./archive.xcarchive -exportPath ./ -exportOptionsPlist ../macos/exportOptions.plist | xcpretty

- name: Zip the exported file
working-directory: ${{github.workspace}}/Client/build
# Zip the application for easier downloading
run: zip -r SonyHeadphonesClient.zip SonyHeadphonesClient.app

- name: Upload the zipped application
uses: actions/upload-artifact@v2.2.2
uses: actions/upload-artifact@v3
with:
# Artifact name
name: ${{ matrix.artifact_name }}
# A file, directory or wildcard pattern that describes what to upload
path: ${{github.workspace}}/${{matrix.binary_path}}
# The desired behavior if no files are found using the provided path.


0 comments on commit 77d1184

Please sign in to comment.