Skip to content

Commit

Permalink
One more try
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Aug 22, 2023
1 parent 27f435d commit d4de7d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- win-x86 # Build a Windows 32-bit standalone.
- win-x64 # Build a Windows 64-bit standalone.
- osx-x64 # Build a Linux 64-bit standalone.
dotnet:
- '7.x'
- '6.x'
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -46,8 +49,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.x
6.x
${{ matrix.dotnet }}
3.1.x
- name: Build
Expand All @@ -56,7 +58,7 @@ jobs:
- name: Zip build
run: |
pushd Build/${{ matrix.targetPlatform }}
zip -r ../../Blocktest-${{ matrix.targetPlatform }}.zip .
zip -r ../../Blocktest-${{ matrix.targetPlatform }}-${{ matrix.dotnet }}.zip .
popd
- name: Upload Release Asset
Expand All @@ -66,6 +68,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.prepareBuild.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./Blocktest-${{ matrix.targetPlatform }}.zip
asset_name: Blocktest-${{ matrix.targetPlatform }}.zip
asset_path: ./Blocktest-${{ matrix.targetPlatform }}-${{ matrix.dotnet }}.zip
asset_name: Blocktest-${{ matrix.targetPlatform }}-${{ matrix.dotnet }}.zip
asset_content_type: application/zip
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
7.0.x
6.0.x
3.1.x
cache: true

- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode

- name: Build
run: dotnet build --no-restore
Expand Down

0 comments on commit d4de7d7

Please sign in to comment.