mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-09-03 14:51:55 +03:00
Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
|
9223b9c0d5 | ||
|
9f05f9811a | ||
|
25f6ec3fc2 | ||
|
c263d31a62 | ||
|
7b6b1cd6b6 | ||
|
5d24b53805 |
5 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- id: forgejo
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.2
|
||||
with:
|
||||
user: testuser
|
||||
password: admin1234
|
||||
|
@ -40,12 +40,12 @@ jobs:
|
|||
|
||||
test $(cat /tmp/v1.json | jq -r .hide_archive_links) = true
|
||||
|
||||
# - name: testdata/upload-download-private
|
||||
# run: |
|
||||
# export LOOP_DELAY=30
|
||||
# export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||
# curl -X 'POST' 'http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }}/api/v1/user/repos' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"name": "upload-download-private","private": true}'
|
||||
# forgejo-test-helper.sh run_workflow testdata/upload-download http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser upload-download-private forgejo-release "${{ steps.forgejo.outputs.token }}"
|
||||
- name: testdata/upload-download-private
|
||||
run: |
|
||||
export LOOP_DELAY=30
|
||||
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||
curl -X 'POST' 'http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }}/api/v1/user/repos' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"name": "upload-download-private","private": true}'
|
||||
forgejo-test-helper.sh run_workflow testdata/upload-download http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser upload-download-private forgejo-release "${{ steps.forgejo.outputs.token }}"
|
||||
|
||||
- name: testdata/nested-upload-download
|
||||
run: |
|
||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/forgejo-release@v2.7.0
|
||||
- uses: actions/forgejo-release@v2.7.2
|
||||
with:
|
||||
direction: upload
|
||||
url: https://my-forgejo-instance.net
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/forgejo-release@v2.7.0
|
||||
- uses: actions/forgejo-release@v2.7.2
|
||||
with:
|
||||
direction: download
|
||||
url: https://my-forgejo-instance.net
|
||||
|
|
|
@ -88,7 +88,7 @@ runs:
|
|||
|
||||
export HIDE_ARCHIVE_LINK="${{ inputs.hide-archive-link }}"
|
||||
|
||||
export TOKEN="${{ inputs.token }}"
|
||||
export TOKEN=${{ inputs.token }}
|
||||
|
||||
export RELEASE_DIR="${{ inputs.release-dir }}"
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ if ${VERBOSE:-false}; then set -x; fi
|
|||
: ${RETRY:=1}
|
||||
: ${DELAY:=10}
|
||||
|
||||
RELEASE_NOTES_ASSISTANT_VERSION=v1.3.6 # renovate: datasource=forgejo-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||
RELEASE_NOTES_ASSISTANT_VERSION=v1.4.0 # renovate: datasource=forgejo-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||
|
||||
TAG_FILE="$TMP_DIR/tag$$.json"
|
||||
TAG_URL=$(echo "$TAG" | sed 's/\//%2F/g')
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- id: forgejo
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.2
|
||||
with:
|
||||
user: testuser
|
||||
password: admin1234
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue