action names

This commit is contained in:
antelle 2020-11-29 14:12:42 +01:00
parent 24c64daa49
commit 6f4f8ec1ea
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 18 additions and 9 deletions

View File

@ -13,7 +13,8 @@ jobs:
with: with:
tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$" tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$"
tagRegexGroup: 1 tagRegexGroup: 1
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
repository: keeweb/keeweb repository: keeweb/keeweb
ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }} ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }}
@ -40,7 +41,8 @@ jobs:
with: with:
tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$" tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$"
tagRegexGroup: 1 tagRegexGroup: 1
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
repository: keeweb/keeweb repository: keeweb/keeweb
ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }} ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }}
@ -101,7 +103,8 @@ jobs:
with: with:
tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$" tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$"
tagRegexGroup: 1 tagRegexGroup: 1
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
repository: keeweb/keeweb repository: keeweb/keeweb
ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }} ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }}
@ -126,7 +129,8 @@ jobs:
mkdir keys mkdir keys
echo "$CODESIGN" > keys/codesign.json echo "$CODESIGN" > keys/codesign.json
xcrun altool --store-password-in-keychain-item "AC_PASSWORD" -u "$APPLE_ID_USERNAME" -p "$APPLE_DEPLOY_PASSWORD" xcrun altool --store-password-in-keychain-item "AC_PASSWORD" -u "$APPLE_ID_USERNAME" -p "$APPLE_DEPLOY_PASSWORD"
- uses: keeweb/import-codesign-certs@v1 - name: Import certificates
uses: keeweb/import-codesign-certs@v1
with: with:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }} p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
@ -149,7 +153,8 @@ jobs:
with: with:
tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$" tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$"
tagRegexGroup: 1 tagRegexGroup: 1
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
repository: keeweb/keeweb repository: keeweb/keeweb
ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }} ref: ${{ github.repository == 'keeweb/keeweb' && github.sha || 'develop' }}
@ -224,12 +229,14 @@ jobs:
with: with:
tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$" tagRegex: "^v(\\d+\\.\\d+\\.\\d+)$"
tagRegexGroup: 1 tagRegexGroup: 1
- uses: google-github-actions/github-actions/setup-gcloud@master - name: Setup GCloud
uses: google-github-actions/github-actions/setup-gcloud@master
with: with:
version: '285.0.0' version: '285.0.0'
service_account_key: ${{ secrets.GCP_SA_KEY }} service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true export_default_credentials: true
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
repository: keeweb/keeweb repository: keeweb/keeweb
path: keeweb path: keeweb

View File

@ -6,11 +6,13 @@ jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
ref: 'gh-pages' ref: 'gh-pages'
- uses: google-github-actions/github-actions/setup-gcloud@master - name: Setup GCloud
uses: google-github-actions/github-actions/setup-gcloud@master
with: with:
version: '285.0.0' version: '285.0.0'
service_account_key: ${{ secrets.GCP_SA_KEY }} service_account_key: ${{ secrets.GCP_SA_KEY }}