-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deprecated version of
actions/upload-artifact: v2
- Loading branch information
1 parent
f6c8c2d
commit 38c9d1d
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ env: | |
AWS_RELEASE_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} | ||
AWS_RELEASE_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} | ||
RELEASE_BUCKET: "slobs-cdn.streamlabs.com/obsplugin/intermediary_packages/" | ||
|
||
jobs: | ||
win64: | ||
name: 'Windows 64-bit' | ||
|
@@ -29,22 +29,22 @@ jobs: | |
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.28.x' | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run build script | ||
run: powershell -File ./ci/pipeline.ps1 "${{ github.workspace }}" "${{ github.sha }}" | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} | ||
aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} | ||
aws-region: us-west-2 | ||
|
||
- name: Upload Zip | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: slplugin-archive | ||
path: ${{ github.workspace }}/slplugin-${{ env.SL_OBS_VERSION }}-${{ github.sha }}.7z | ||
|
@@ -55,7 +55,7 @@ jobs: | |
environment: Release | ||
needs: [win64] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Download Archive | ||
uses: actions/download-artifact@v3 | ||
|
@@ -69,14 +69,14 @@ jobs: | |
run: powershell -File ./ci/sign.ps1 "${{ github.workspace }}" "${{ github.sha }}" | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} | ||
aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} | ||
aws-region: us-west-2 | ||
|
||
- name: Upload zip to AWS Intermediary | ||
run: aws s3 cp slplugin-${{env.SL_OBS_VERSION}}-${{ github.sha }}-signed.zip s3://${{env.RELEASE_BUCKET}} --acl public-read | ||
|
||
- name: Upload installer to AWS Intermediary | ||
run: aws s3 cp slplugin-${{env.SL_OBS_VERSION}}-${{ github.sha }}-signed.exe s3://${{env.RELEASE_BUCKET}} --acl public-read |