mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix publish new packages
This commit is contained in:
parent
7344ac5a51
commit
bde8d279b0
1 changed files with 9 additions and 8 deletions
9
.github/workflows/pkg-platform.yml
vendored
9
.github/workflows/pkg-platform.yml
vendored
|
@ -123,8 +123,7 @@ jobs:
|
|||
aws-region: us-east-1
|
||||
|
||||
- name: import GPG key
|
||||
run:
|
||||
echo $GPG_PRIVATE_KEY |
|
||||
run: echo $GPG_PRIVATE_KEY |
|
||||
base64 -d |
|
||||
pkgx gpg --import --batch --yes
|
||||
env:
|
||||
|
@ -184,9 +183,11 @@ jobs:
|
|||
|
||||
- name: generate versions.txt
|
||||
run: |
|
||||
aws s3 cp \
|
||||
if !aws s3 cp \
|
||||
s3://${{ secrets.AWS_S3_BUCKET }}/${{ needs.build.outputs.project }}/${{ needs.build.outputs.platform }}/${{ needs.build.outputs.arch }}/versions.txt \
|
||||
./remote-versions.txt
|
||||
./remote-versions.txt; then
|
||||
touch remote-versions.txt
|
||||
fi
|
||||
echo "$SCRIPT" > script.ts
|
||||
pkgx deno run -A script.ts ./remote-versions.txt ${{ needs.build.outputs.version }} > versions.txt
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue