Commit graph

56 commits

Author SHA1 Message Date
benniekiss 225c85ca83 use exact curl command generated by api/swagger
fix quote errors and trailing whitespace
2024-07-06 15:11:40 +00:00
benniekiss f204b3586c create private repo via api prior to forgejo-test-helper.sh exec 2024-07-05 20:16:15 +00:00
benniekiss c1d31e18ab exit without output on failed download
in the case the provided access token doesn't have the appropriate permissions, exit without output. Otherwise, the downloaded files will not have the expected contents.
2024-07-05 19:09:25 +00:00
benniekiss 3772ac42c9 authenticate testuser via api to create private repo 2024-07-05 18:55:54 +00:00
benniekiss 8b412e5ed3 add test for uploading and downloading from private repos 2024-07-05 17:20:39 +00:00
benniekiss 27146d0e06 dont use wget to download 2024-07-05 11:50:31 +00:00
Léana 江 eb0fcc44a1 fetch tea for the matching architecture
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/11
Co-authored-by: Léana 江 <leana.jiang@icloud.com>
Co-committed-by: Léana 江 <leana.jiang@icloud.com>
2024-05-12 11:02:43 +00:00
earl-warren 93cfaf8d53 Merge pull request 'override an existing release by the same tag' (#7) from earl-warren/forgejo-release:wip-override into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/7
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-12 14:06:05 +00:00
Earl Warren 809ad6c4e5
override an existing release by the same tag 2024-02-12 14:32:32 +01:00
earl-warren 888150209e Merge pull request 'Improve documentation with example for downloading a release' (#5) from Crown0815/forgejo-release:main into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/5
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-02-02 14:14:23 +00:00
Crown0815 38c8f4cd4d Add download example 2024-02-01 12:50:40 +00:00
Earl Warren ce36eb9e28
update README 2024-01-03 22:39:52 +01:00
Earl Warren 0acb5f263e
instructions on how to update the README from action.yml 2024-01-03 22:38:48 +01:00
earl-warren 54df7acad2 Merge pull request 'Add ability to manually specify pre-releases' (#3) from Neshura/forgejo-release:main into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/3
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-01-03 21:38:31 +00:00
Earl Warren 241b5920f4
use branch_tip instead of forgejo-test-helper.sh output 2024-01-03 22:32:27 +01:00
Earl Warren fdf3d323b9
also run CI on pull requests 2024-01-03 21:45:50 +01:00
Neshura 81f7998d0e Add PRELEASE handling to forgejo-release.sh 2024-01-03 18:25:06 +00:00
Neshura a29fc96f18 Add prerelease input to action.yml 2024-01-03 18:23:39 +00:00
Earl Warren 4d98c454fb
s/ubuntu-latest/docker/ 2023-11-05 22:30:57 +01:00
earl-warren 4ac9bbc591 Merge pull request 'fix race condition when using v1.20 in tests' (#2) from wip-build-publish into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/2
2023-09-02 09:02:44 +00:00
Earl Warren 837e49d432
show forgejo logs on failure() 2023-09-02 10:55:33 +02:00
Earl Warren 2d51a3fa48
workaround race condition in v1.20
Refs: https://codeberg.org/forgejo/forgejo/issues/1370
2023-09-02 10:55:33 +02:00
Earl Warren 069735deb1
upgrade tests to 1.20 2023-09-02 10:55:32 +02:00
Earl Warren ca1a3fb023
allow tea login multiple times 2023-08-25 11:41:43 +02:00
earl-warren 1fda0bb063 Merge pull request 'add support for GPG signing of assets' (#1) from wip-gpg into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/1
2023-05-26 13:15:55 +00:00
Earl Warren c6d7843bab
action: support for GPG signing 2023-05-26 15:05:07 +02:00
Earl Warren f886973249
GPG signing logic 2023-05-26 14:49:39 +02:00
Earl Warren 358b55efd4
wait for a release to no longer be draft before downloading 2023-05-24 01:32:23 +02:00
Earl Warren 56c1c975a3
mark the release as draft until it is ready 2023-05-24 01:09:00 +02:00
Earl Warren fb9e03dc6f
cosmetic change to integration 2023-05-24 01:08:27 +02:00
Earl Warren c77cf483dd
support signing release artifacts 2023-05-23 13:04:53 +02:00
Earl Warren 0037083d2d
cosmetic changes 2023-05-23 13:04:49 +02:00
Earl Warren bb345b780c
LICENSE is MIT 2023-04-01 11:12:56 +02:00
Earl Warren 4f06c1b250
github.token has restricted permissions and won't be useful 2023-03-31 00:54:48 +02:00
Earl Warren 12233a8d78
trim refs/tags/ for short tag names 2023-03-31 00:36:06 +02:00
Earl Warren b818607d61
no doer 2023-03-31 00:19:35 +02:00
Earl Warren a9b7d752f4
exclude tags 2023-03-30 23:50:46 +02:00
Earl Warren 28d6f1caa5
do not upload emacs backupfiles 2023-03-30 17:45:40 +02:00
Earl Warren 620ec2551a
split integration tests 2023-03-30 17:27:35 +02:00
Earl Warren 25027fcba8
set token from FORGEJO_TOKEN in the test environment 2023-03-30 17:16:24 +02:00
Earl Warren cb070c9a96
fallback to env.GITHUB_SERVER_URL if FORGEJO is not set 2023-03-30 17:16:24 +02:00
Earl Warren ba62e00392
quietly apt-get update 2023-03-30 15:22:00 +02:00
Earl Warren 6787cd1bd1
add README 2023-03-30 14:50:09 +02:00
Earl Warren 3a07a6062f
non nested upload/download tests 2023-03-30 10:43:52 +02:00
Earl Warren df1717d07c
s/upload-download/nested-upload-download/ 2023-03-30 09:14:15 +02:00
Earl Warren ca02749d65
adapt shell tests 2023-03-30 09:14:15 +02:00
Earl Warren d12e05c347
use a different IP prefix in nested forgejo instances 2023-03-30 01:32:08 +02:00
Earl Warren c00160628d
add release notes 2023-03-30 00:05:14 +02:00
Earl Warren 429c93d710
specify the SHA when the repo running the action is unrelated 2023-03-29 23:45:19 +02:00
Earl Warren 21454480e1
use the test forgejo instance 2023-03-29 19:21:20 +02:00