Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Nov 30, 2023
2 parents c8ec94a + 6f1ba06 commit 55ded24
Show file tree
Hide file tree
Showing 6 changed files with 1,254 additions and 872 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
is-osx: 1
- os: ubuntu-latest
target: annelid-x86_64.AppImage
artifact-path: annelid-0.1.0-x86_64.AppImage
artifact-path: ./target/appimage/annelid.AppImage
is-linux: 1
- os: windows-latest
target: annelid-x86_64.win
Expand Down Expand Up @@ -116,9 +116,7 @@ jobs:
export TARGET=aarch64-apple-darwin
rustup target add $TARGET
- run: cargo build --release
- run: cargo install --force cargo-strip
- run: cargo install --force cargo-bundle
- run: cargo strip -t release
- name: macOS bundling
if: ${{ matrix.is-osx }}
run: |
Expand Down Expand Up @@ -150,23 +148,25 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: annelid-x86_64.AppImage
path: annelid-x86_64.AppImage/
path: annelid-x86_64.AppImage
- uses: actions/download-artifact@v3
with:
name: annelid-x86_64.macos
path: annelid-x86_64.macos/
path: annelid-x86_64.macos
- uses: actions/download-artifact@v3
with:
name: annelid-aarch64.macos
path: annelid-aarch64.macos/
path: annelid-aarch64.macos
- uses: actions/download-artifact@v3
with:
name: annelid-x86_64.macos-11
path: annelid-x86_64.macos-11/
path: annelid-x86_64.macos-11
- uses: actions/download-artifact@v3
with:
name: annelid-x86_64.win
path: annelid-x86_64.win/
path: annelid-x86_64.win
- name: Display structure of downloaded files
run: ls -R
- id: get_commit_id
run: echo SHORT_COMMIT_ID=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
shell: bash
Expand All @@ -187,7 +187,7 @@ jobs:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./annelid-x86_64.AppImage/annelid-0.1.0-x86_64.AppImage
asset_path: ./annelid-x86_64.AppImage/annelid.AppImage
asset_name: annelid-${{ steps.tag_date.outputs.TAG_NAME }}-x86_64-linux.AppImage
asset_content_type: application/octet-stream
- uses: actions/upload-release-asset@v1
Expand Down
Loading

0 comments on commit 55ded24

Please sign in to comment.