Skip to content

Commit

Permalink
Test manual steps, macos arm only
Browse files Browse the repository at this point in the history
  • Loading branch information
alexroan committed Jun 4, 2024
1 parent 0e7348a commit 4ac47d0
Showing 1 changed file with 44 additions and 14 deletions.
58 changes: 44 additions & 14 deletions .github/workflows/release2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
strategy:
matrix:
include:
- name: linux-amd64
runner: ubuntu-latest
target: x86_64-unknown-linux-gnu
- name: win-amd64
runner: windows-latest
target: x86_64-pc-windows-msvc
- name: macos-amd64
runner: macos-latest
target: x86_64-apple-darwin
# - name: linux-amd64
# runner: ubuntu-latest
# target: x86_64-unknown-linux-gnu
# - name: win-amd64
# runner: windows-latest
# target: x86_64-pc-windows-msvc
# - name: macos-amd64
# runner: macos-latest
# target: x86_64-apple-darwin
- name: macos-arm64
runner: macos-latest
target: aarch64-apple-darwin
Expand Down Expand Up @@ -93,15 +93,45 @@ jobs:
with:
tag_name: ${{ needs.build.outputs.tag_name }}
release_name: "Release ${{ needs.build.outputs.tag_name }}"
draft: false
prerelease: false
draft: true
prerelease: true

# - name: Upload Compressed Linux amd64 Asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./compressed/aderyn-linux-amd64.tar.gz
# asset_name: aderyn-linux-amd64.tar.gz
# asset_content_type: application/gzip

# - name: Upload Compressed Windows amd64 Asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./compressed/aderyn-win-amd64.exe.tar.gz
# asset_name: aderyn-win-amd64.exe.tar.gz
# asset_content_type: application/gzip

# - name: Upload Compressed MacOS amd64 Asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./compressed/aderyn-macos-amd64.tar.gz
# asset_name: aderyn-macos-amd64.tar.gz
# asset_content_type: application/gzip

- name: Upload Compressed Release Assets
- name: Upload Compressed MacOS arm64 Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/
asset_name: ${{ matrix.name }}.tar.gz
asset_path: ./compressed/aderyn-macos-arm64.tar.gz
asset_name: aderyn-macos-arm64.tar.gz
asset_content_type: application/gzip

0 comments on commit 4ac47d0

Please sign in to comment.