mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2026-01-12 08:21:39 -05:00
try and build forgejo with the mod too
This commit is contained in:
14
.github/workflows/forgejo-build.yml
vendored
14
.github/workflows/forgejo-build.yml
vendored
@@ -19,14 +19,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get Latest Forgejo Tag
|
- name: Get Latest Forgejo Tag
|
||||||
id: get_latest_tag
|
id: get_latest_tag
|
||||||
uses: actions/github-script@v7
|
run: |
|
||||||
with:
|
LATEST_TAG=$(curl -s 'https://codeberg.org/api/v1/repos/forgejo/forgejo/releases?limit=1' | jq -r '.[0].tag_name')
|
||||||
script: |
|
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
|
||||||
const response = await github.rest.repos.getLatestRelease({
|
echo "Latest Forgejo tag: $LATEST_TAG"
|
||||||
owner: 'forgejo',
|
|
||||||
repo: 'forgejo'
|
|
||||||
});
|
|
||||||
core.setOutput('tag', response.data.tag_name);
|
|
||||||
|
|
||||||
- name: Check Existing Release
|
- name: Check Existing Release
|
||||||
id: check_existing
|
id: check_existing
|
||||||
@@ -67,7 +63,7 @@ jobs:
|
|||||||
- name: Checkout Forgejo Source
|
- name: Checkout Forgejo Source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: forgejo/forgejo
|
repository: https://codeberg.org/forgejo/forgejo
|
||||||
ref: ${{ needs.check-release.outputs.new_tag }}
|
ref: ${{ needs.check-release.outputs.new_tag }}
|
||||||
path: forgejo-source
|
path: forgejo-source
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/forgejo-nightly.yml
vendored
2
.github/workflows/forgejo-nightly.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Checkout Forgejo Source
|
- name: Checkout Forgejo Source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: forgejo/forgejo
|
repository: https://codeberg.org/forgejo/forgejo
|
||||||
ref: main # Always use the latest main branch
|
ref: main # Always use the latest main branch
|
||||||
path: forgejo-source
|
path: forgejo-source
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user