-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from s3rj1k/ci-deb-packages
Package handling changes.
- Loading branch information
Showing
3 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
sync: | ||
|
||
runs-on: ${{ inputs.RUNNER }} | ||
name: Sync metadata for ${{inputs.LIB_NAME}} at ${{inputs.FILE_PATH}}/${{inputs.ARTIFACT_NAME}} | ||
name: Sync metadata for ${{ inputs.LIB_NAME }} at ${{ inputs.FILE_PATH }}/${{ inputs.ARTIFACT_NAME }} | ||
environment: ${{ inputs.ENVIRONMENT }} | ||
|
||
steps: | ||
|
@@ -71,7 +71,7 @@ jobs: | |
id: metabranch | ||
with: | ||
repository: ${{ inputs.TARGET_REPO }} | ||
ref: ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{inputs.TARGET_PLATFORM}} | ||
ref: ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{ inputs.TARGET_PLATFORM }} | ||
ssh-key: ${{ secrets.GH_BOT_DEPLOY_KEY }} | ||
token: ${{ secrets.GH_BOT_DEPLOY_TOKEN || github.token }} | ||
|
||
|
@@ -86,20 +86,22 @@ jobs: | |
- name: Create remote | ||
continue-on-error: true | ||
run: | | ||
git checkout -b ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{inputs.TARGET_PLATFORM}} | ||
git push --set-upstream origin ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{inputs.TARGET_PLATFORM}} | ||
git checkout -b ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{ inputs.TARGET_PLATFORM }} | ||
git push --set-upstream origin ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{ inputs.TARGET_PLATFORM }} | ||
- name: Download Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ inputs.ARTIFACT_NAME }} | ||
|
||
- name: Sync changes | ||
shell: sh | ||
run: | | ||
git checkout ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{inputs.TARGET_PLATFORM}} | ||
git checkout ${{ inputs.LIB_NAME }}/${{ inputs.TARGET_OS }}/${{ inputs.TARGET_PLATFORM }} | ||
git pull | ||
git status --porcelain && exit 0 | ||
git add metafile.txt | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "github-actions" | ||
git commit -m "update metadata" | ||
git push | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters