Skip to content

Commit

Permalink
debugging release action
Browse files Browse the repository at this point in the history
  • Loading branch information
DeaconDesperado committed Sep 21, 2023
1 parent c83a3e2 commit b2bb8de
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
path: |
target/aarch64-apple-darwin/release/nektar
publish:
if: false
needs: [build-linux-x86_64, build-aarch64-darwin]
runs-on: ubuntu-latest
steps:
Expand All @@ -70,7 +72,8 @@ jobs:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

release:
needs: [publish]
#needs: [publish]
needs: [build-linux-x86_64, build-aarch64-darwin]
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -81,9 +84,16 @@ jobs:
with:
path: artifacts
- name: Echo download path
run: echo ${{steps.download.outputs.download-path}}
run: ls -lahR ${{steps.download.outputs.download-path}}
- name: Prepare x86_64 artifact name
run: mv ${{steps.download.outputs.download-path}}/nektar-linux-x86_64/nektar nektar-linux-x86_64
- name: Prepare aarch64 artifact name
run: mv ${{steps.download.outputs.download-path}}/nektar-aarch64-apple-darwin/nektar nektar-aarch64-apple-darwin
- name: Release
uses: softprops/action-gh-release@v1
uses: ncipollo/release-action@v1
with:
files: |
artifacts/**/*
artifacts: >-
nektar-linux-x86_64,
nektar-aarch64-apple-darwin
artifactErrorsFailBuild: true
allowUpdates: true

0 comments on commit b2bb8de

Please sign in to comment.