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 --build . --config Debug
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: https://github.com/actions/setup-go@v4
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
go-version: '>=1.20.1'
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./libEHS.a
|
||||
asset_name: EHS
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
files: |-
|
||||
libEHS.a
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
Loading…
Reference in New Issue
Block a user