Skip to content

Commit e112fe4

Browse files
authored
hm (#5)
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
1 parent 5c4f86a commit e112fe4

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

.github/workflows/workflow.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,29 @@ jobs:
3939
use-cross: true
4040
command: build
4141
args: --target armv7-unknown-linux-gnueabihf --release --bin whiteboard --locked #--frozen #--offline
42-
- if: startsWith(github.ref, 'refs/tags/')
43-
id: create_release
44-
uses: actions/create-release@v1
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
# - if: startsWith(github.ref, 'refs/tags/')
43+
# id: create_release
44+
# uses: actions/create-release@v1
45+
# env:
46+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
# with:
48+
# tag_name: ${{ github.ref }}
49+
# draft: false
50+
# prerelease: false
51+
# - if: startsWith(github.ref, 'refs/tags/')
52+
# id: upload-release-asset
53+
# uses: actions/upload-release-asset@v1
54+
# env:
55+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
# with:
57+
# upload_url: ${{ steps.create_release.outputs.upload_url }}
58+
# asset_path: ./marauder/target/armv7-unknown-linux-gnueabihf/release/whiteboard
59+
# asset_name: whiteboard
60+
# asset_content_type: application/octet-stream
61+
- uses: softprops/action-gh-release@v1 # TODO: https://github.com/actions/create-release/issues/29
62+
if: startsWith(github.ref, 'refs/tags/')
4763
with:
48-
tag_name: ${{ github.ref }}
49-
draft: false
50-
prerelease: false
51-
- if: startsWith(github.ref, 'refs/tags/')
52-
id: upload-release-asset
53-
uses: actions/upload-release-asset@v1
64+
files: |
65+
./marauder/target/armv7-unknown-linux-gnueabihf/release/whiteboard
5466
env:
5567
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
with:
57-
upload_url: ${{ steps.create_release.outputs.upload_url }}
58-
asset_path: ./marauder/target/armv7-unknown-linux-gnueabihf/release/whiteboard
59-
asset_name: whiteboard
60-
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)