Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d575115b0e | |||
| fc3415be5b | |||
| 5c40392fc4 |
@@ -1,7 +1,7 @@
|
|||||||
name: build_package_deb
|
name: build_package_deb
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PACKAGE_NAME: simplescript
|
PACKAGE_NAME: test2
|
||||||
DEB_OS_TARGET: bullseye
|
DEB_OS_TARGET: bullseye
|
||||||
GIT_REPO_URL: gitea.jingoh.fr
|
GIT_REPO_URL: gitea.jingoh.fr
|
||||||
MAINTAINER: jingoh
|
MAINTAINER: jingoh
|
||||||
@@ -13,8 +13,10 @@ on:
|
|||||||
- '*.*.[0-9]'
|
- '*.*.[0-9]'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-package-push-repo:
|
||||||
runs-on: ubuntu-latest
|
runs-on: debian-bullseye-node
|
||||||
|
container:
|
||||||
|
image: debian:bullseye
|
||||||
steps:
|
steps:
|
||||||
- name: Git clone private repository
|
- name: Git clone private repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -49,3 +51,6 @@ jobs:
|
|||||||
curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \
|
curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \
|
||||||
--upload-file ${{ env.PACKAGE_NAME }}_${{ gitea.ref_name }}_${{ env.ARCH }}.deb \
|
--upload-file ${{ env.PACKAGE_NAME }}_${{ gitea.ref_name }}_${{ env.ARCH }}.deb \
|
||||||
https://${{ env.GIT_REPO_URL }}/api/packages/${{ vars.REPO_GITEA_USER }}/debian/pool/${{ env.DEB_OS_TARGET }}/main/upload
|
https://${{ env.GIT_REPO_URL }}/api/packages/${{ vars.REPO_GITEA_USER }}/debian/pool/${{ env.DEB_OS_TARGET }}/main/upload
|
||||||
|
|
||||||
|
- name: Output
|
||||||
|
run: echo "Push on ${{ env.GIT_REPO_URL }} with user ${{ vars.REPO_GITEA_USER }} package ${{ env.PACKAGE_NAME }} os ${{ env.DEB_OS_TARGET }} tag ${{ gitea.ref_name }}"
|
||||||
@@ -6,7 +6,7 @@ on: [never]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: debian-bullseye-node
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event. Test 4zet"
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event. Test 4zet"
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
|||||||
Reference in New Issue
Block a user