mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
Write.
This commit is contained in:
parent
5a8d3a5074
commit
4fd7373304
2
.github/templates/release.md
vendored
2
.github/templates/release.md
vendored
@ -13,4 +13,4 @@ Update description
|
|||||||
https://github.com/maxgoedjen/secretive/actions/runs/RUN_ID
|
https://github.com/maxgoedjen/secretive/actions/runs/RUN_ID
|
||||||
|
|
||||||
## Attestation
|
## Attestation
|
||||||
https://github.com/maxgoedjen/secretive/actions/runs/RUN_ID
|
https://github.com/maxgoedjen/secretive/attestations/ATTESTATION_ID
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: macos-15
|
runs-on: macos-15
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: write
|
||||||
attestations: write
|
attestations: write
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
@ -71,12 +71,16 @@ jobs:
|
|||||||
subject-path: 'Secretive.zip, Xcode_Archive.zip'
|
subject-path: 'Secretive.zip, Xcode_Archive.zip'
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
run: |
|
run: |
|
||||||
|
sed -i.tmp "s/RUN_ID/$RUN_ID/g" .github/templates/release.md
|
||||||
|
sed -i.tmp "s/ATTESTATION_ID/$ATTESTATION_ID/g" .github/templates/release.md
|
||||||
gh release create $TAG_NAME -d -F .github/templates/release.md
|
gh release create $TAG_NAME -d -F .github/templates/release.md
|
||||||
gh release upload Secretive.zip
|
gh release upload Secretive.zip
|
||||||
gh release upload Xcode_Archive.zip
|
gh release upload Xcode_Archive.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAG_NAME: ${{ github.ref }}
|
TAG_NAME: ${{ github.ref }}
|
||||||
|
RUN_ID: ${{ github.run_id }}
|
||||||
|
|
||||||
- name: Upload App to Artifacts
|
- name: Upload App to Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user