mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 00:00:22 +00:00
Add osx
This commit is contained in:
parent
46c8f9fe84
commit
93645ed7e6
|
@ -9,6 +9,6 @@ tar --create --auto-compress --file ${filename} --exclude-from=qb64/.ci/common-e
|
||||||
|
|
||||||
current_files=$(aws --output text --query 'Contents[].Key' s3api list-objects --bucket ${BUCKET} --prefix ${OS})
|
current_files=$(aws --output text --query 'Contents[].Key' s3api list-objects --bucket ${BUCKET} --prefix ${OS})
|
||||||
aws s3 cp ${filename} s3://${BUCKET}/${OS}/
|
aws s3 cp ${filename} s3://${BUCKET}/${OS}/
|
||||||
for f in current_files; do
|
for f in $current_files; do
|
||||||
aws s3 rm s3://${BUCKET}/$f
|
aws s3 rm s3://${BUCKET}/$f
|
||||||
done
|
done
|
||||||
|
|
17
.github/workflows/run.yml
vendored
17
.github/workflows/run.yml
vendored
|
@ -38,24 +38,21 @@ jobs:
|
||||||
|
|
||||||
macos-build:
|
macos-build:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
if: "contains(github.event.head_commit.message, 'ci-skip')"
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Bootstrap compiler
|
- name: Bootstrap compiler
|
||||||
run: .ci/bootstrap.sh osx
|
run: .ci/bootstrap.sh osx
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: .ci/compile.sh
|
run: .ci/compile.sh
|
||||||
- name: Set deployment SSH key
|
- name: Setup aws
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: shimataro/ssh-key-action@v2.1.0
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
key: ${{ secrets.SSH_KEY }}
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
config: |
|
aws-region: us-east-2
|
||||||
Host remote-server
|
- name: Publish to S3
|
||||||
HostName qb64.org
|
|
||||||
User m6rosupy1q2t
|
|
||||||
- name: Package and deploy
|
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: .ci/deploy.sh osx
|
run: .ci/deploy.sh osx
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue