Skip to content

Commit

Permalink
test asset uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
duksis committed May 29, 2024
1 parent aad895c commit 5c3392d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- 'v*'
on: push
# push:
# tags:
# - 'v*'

name: Build release assets

Expand All @@ -14,12 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: Build
run: sh scripts/package_dmg.sh
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release assets
uses: softprops/action-gh-release@v2
with:
upload_url: https://github.com/duksis/Lock/releases/tag/${{ github.ref }}
asset_path: ./dist/lock.dmg
asset_name: lock.dmg
asset_content_type: application/octet-stream
files: dist/lock.dmg
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Tests

on: push
on:
push:
branches: "**"

jobs:
build:
Expand Down

0 comments on commit 5c3392d

Please sign in to comment.