Use Forgejo-compatible artifact actions
This commit is contained in:
parent
ddbfa47587
commit
ec407be894
7 changed files with 18 additions and 14 deletions
|
|
@ -92,7 +92,7 @@ jobs:
|
|||
EOF
|
||||
|
||||
- name: Upload CSR Artifact
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-developer-id-kms-csr
|
||||
path: dist/apple-developer-id
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ jobs:
|
|||
//bazel/apple:release_ios_stamp
|
||||
|
||||
- name: Upload Staged iOS Artifact
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-ios-${{ needs.prepare.outputs.build_number }}
|
||||
path: |
|
||||
|
|
@ -313,7 +313,7 @@ jobs:
|
|||
//bazel/apple:release_macos_stamp
|
||||
|
||||
- name: Upload Staged macOS Artifact
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-macos-${{ needs.prepare.outputs.build_number }}
|
||||
path: |
|
||||
|
|
@ -357,7 +357,7 @@ jobs:
|
|||
run: nix develop .#ci -c Scripts/ci/google-wif-auth.sh
|
||||
|
||||
- name: Download Staged Apple Artifacts
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v3
|
||||
with:
|
||||
path: dist/downloaded
|
||||
|
||||
|
|
@ -389,7 +389,7 @@ jobs:
|
|||
run: nix develop .#ci -c Scripts/ci/upload-release-storage.sh
|
||||
|
||||
- name: Upload Signed Apple Artifacts
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-signed-${{ needs.prepare.outputs.build_number }}
|
||||
path: |
|
||||
|
|
@ -428,7 +428,7 @@ jobs:
|
|||
uses: ./.forgejo/actions/decrypt-release-secrets
|
||||
|
||||
- name: Download Signed Apple Artifacts
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-signed-${{ needs.prepare.outputs.build_number }}
|
||||
path: publish
|
||||
|
|
@ -526,7 +526,7 @@ jobs:
|
|||
run: nix develop .#ci -c Scripts/ci/google-wif-auth.sh
|
||||
|
||||
- name: Download Signed Apple Artifacts
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-signed-${{ needs.prepare.outputs.build_number }}
|
||||
path: publish
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ jobs:
|
|||
EOF
|
||||
|
||||
- name: Upload CSR Artifact
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-ios-distribution-kms-csr
|
||||
path: dist/apple-ios-distribution
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ jobs:
|
|||
nix develop .#ci -c Scripts/ci/package-release-artifacts.sh linux
|
||||
|
||||
- name: Upload Linux Artifacts
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-linux-${{ needs.prepare.outputs.build_number }}
|
||||
path: dist/builds/${{ needs.prepare.outputs.build_number }}/linux/*
|
||||
|
|
@ -188,7 +188,7 @@ jobs:
|
|||
Get-FileHash "dist/builds/$env:BUILD_NUMBER/windows/burrow-$env:BUILD_NUMBER-x86_64-pc-windows-msvc.zip" -Algorithm SHA256 | ForEach-Object { "$($_.Hash.ToLower()) burrow-$env:BUILD_NUMBER-x86_64-pc-windows-msvc.zip" } | Set-Content "dist/builds/$env:BUILD_NUMBER/windows/burrow-$env:BUILD_NUMBER-x86_64-pc-windows-msvc.zip.sha256"
|
||||
|
||||
- name: Upload Windows Artifacts
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-windows-${{ needs.prepare.outputs.build_number }}
|
||||
path: dist/builds/${{ needs.prepare.outputs.build_number }}/windows/*
|
||||
|
|
@ -368,7 +368,7 @@ jobs:
|
|||
"${{ matrix.bazel_target }}"
|
||||
|
||||
- name: Upload Apple Artifacts
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-apple-${{ matrix.platform }}-${{ needs.prepare.outputs.build_number }}
|
||||
path: |
|
||||
|
|
@ -402,7 +402,7 @@ jobs:
|
|||
fetch-depth: 0
|
||||
|
||||
- name: Download Artifacts
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/download-artifact@v3
|
||||
with:
|
||||
path: dist/downloaded
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
nix develop .#ci -c Scripts/package/build-repositories.sh all
|
||||
|
||||
- name: Upload Repository Artifact
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-package-repositories-${{ github.event.inputs.channel || 'stable' }}-${{ github.event.inputs.build_number || github.sha }}
|
||||
path: dist/builds/${{ github.event.inputs.build_number || github.sha }}/repositories/**
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
find dist -maxdepth 1 -type f -print | sort
|
||||
|
||||
- name: Upload release artifacts
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: burrow-release-${{ github.ref_name }}
|
||||
path: dist/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue