mirror of
https://code.forgejo.org/actions/forgejo-release
synced 2025-06-08 03:58:19 +02:00
action: support for GPG signing
This commit is contained in:
parent
f886973249
commit
c6d7843bab
6 changed files with 257 additions and 12 deletions
|
@ -4,6 +4,7 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- id: forgejo
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v1
|
||||
with:
|
||||
|
@ -11,21 +12,21 @@ jobs:
|
|||
password: admin1234
|
||||
image-version: 1.19
|
||||
|
||||
- name: Upload
|
||||
- name: Make the forgejo-release action available for testing
|
||||
run: |
|
||||
forgejo-test-helper.sh push_self_action http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser forgejo-release vTest
|
||||
|
||||
- name: Upload and download
|
||||
- name: Actions tests from testdata/upload-download/.forgejo/workflows
|
||||
run: |
|
||||
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||
forgejo-test-helper.sh run_workflow testdata/upload-download http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser upload-download forgejo-release "${{ steps.forgejo.outputs.token }}"
|
||||
|
||||
- name: Nested upload and download
|
||||
- name: Actions tests from testdata/nested-upload-download/.forgejo/workflows
|
||||
run: |
|
||||
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||
forgejo-test-helper.sh run_workflow testdata/nested-upload-download http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser nested-upload-download forgejo-release "${{ steps.forgejo.outputs.token }}"
|
||||
|
||||
- name: Self test
|
||||
- name: Integration tests of the supporting script forgejo-release.sh
|
||||
run: |
|
||||
set -ex
|
||||
export FORGEJO="${{ steps.forgejo.outputs.url }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue