-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
- Loading branch information
1 parent
aca4b34
commit e31ccc6
Showing
4 changed files
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: New release | ||
run-name: ${{ github.actor }} is creating a new release ${{ inputs.tagname }} | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tagname: | ||
description: "tag name" | ||
required: true | ||
releasename: | ||
description: "release name" | ||
required: false | ||
latest: | ||
description: "mark as latest release" | ||
type: boolean | ||
default: true | ||
deep: | ||
description: 'create archive recursively on all levels' | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: create release | ||
uses: oskarirauta/create-release-action@v1 | ||
with: | ||
token: ${{ github.token }} | ||
tag: ${{ inputs.tagname }} | ||
release: ${{ inputs.releasename }} | ||
latest: ${{ inputs.latest }} | ||
- name: report | ||
shell: bash | ||
run: | | ||
echo "created release ${{ inputs.releasename }} with tag ${{ inputs.tagname }}" >> $GITHUB_STEP_SUMMARY | ||
- name: create asset | ||
uses: oskarirauta/upload-recursive-asset-action@v1 | ||
with: | ||
token: ${{ github.token }} | ||
tag: ${{ inputs.tagname }} | ||
id: ${{ env.release_id }} | ||
deep: ${{ inputs.deep }} | ||
- name: finish | ||
shell: bash | ||
run: | | ||
echo "release ${{ env.release_name }} created succesfully" >> $GITHUB_STEP_SUMMARY | ||
echo "recursive asset ${{ env.asset_file }} uploaded with size of ${{ env.bytes_uploaded }} bytes" >> $GITHUB_STEP_SUMMARY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PROPERTY_DIR?=property | ||
INCLUDES += -I./$(PROPERTY_DIR)/include | ||
PROPERTY_DIR?=./property | ||
INCLUDES += -I$(PROPERTY_DIR)/include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters