Test
All checks were successful
Raspberry Pi 4 Build / Explore-Gitea-Actions (push) Successful in 3m6s
All checks were successful
Raspberry Pi 4 Build / Explore-Gitea-Actions (push) Successful in 3m6s
This commit is contained in:
parent
c692a2b56b
commit
ccc24cd38f
@ -25,29 +25,15 @@ jobs:
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB .
|
cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB .
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
|
|
||||||
- name: Create Release
|
- uses: https://github.com/actions/setup-go@v4
|
||||||
id: create_release
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
go-version: '>=1.20.1'
|
||||||
release_name: Release ${{ github.ref }}
|
- name: Use Go Action
|
||||||
draft: false
|
id: use-go-action
|
||||||
prerelease: false
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
|
||||||
- name: Upload Release Asset
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
files: |-
|
||||||
asset_path: ./libEHS.a
|
libEHS.a
|
||||||
asset_name: EHS
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
Loading…
Reference in New Issue
Block a user