drop build
This commit is contained in:
parent
5cadfdad35
commit
e556367d5c
1 changed files with 0 additions and 32 deletions
|
@ -7,37 +7,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-x86_64:
|
|
||||||
runs-on: x86_64
|
|
||||||
container:
|
|
||||||
image: alpinelinux/alpine-gitlab-ci:latest
|
|
||||||
env:
|
|
||||||
CI_PROJECT_DIR: ${{ github.workspace }}
|
|
||||||
CI_DEBUG_BUILD: ${{ runner.debug }}
|
|
||||||
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
|
||||||
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
|
||||||
steps:
|
|
||||||
- name: Environment setup
|
|
||||||
run: |
|
|
||||||
doas apk add nodejs git patch curl
|
|
||||||
cd /etc/apk/keys
|
|
||||||
doas curl -JO https://ayakael.net/api/packages/forge/alpine/key
|
|
||||||
- name: Repo pull
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 500
|
|
||||||
- name: Package build
|
|
||||||
run: |
|
|
||||||
doas patch -d / -p1 -i ${{ github.workspace }}/.forgejo/patches/build.patch
|
|
||||||
build.sh
|
|
||||||
- name: Package upload
|
|
||||||
uses: forgejo/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: package
|
|
||||||
path: packages
|
|
||||||
|
|
||||||
deploy-x86_64:
|
deploy-x86_64:
|
||||||
needs: [build-x86_64]
|
|
||||||
runs-on: x86_64
|
runs-on: x86_64
|
||||||
container:
|
container:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
@ -50,8 +20,6 @@ jobs:
|
||||||
run: apk add nodejs curl findutils git gawk jq
|
run: apk add nodejs curl findutils git gawk jq
|
||||||
- name: Repo pull
|
- name: Repo pull
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Package download
|
|
||||||
uses: forgejo/download-artifact@v3
|
|
||||||
- name: Package deployment
|
- name: Package deployment
|
||||||
run: curl -s $GITUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }} | jq .draft
|
run: curl -s $GITUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }} | jq .draft
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue