diff --git a/.github/actions/prepare_for_build/action.yml b/.github/actions/prepare_for_build/action.yml index 93b2fff5..6ce35bf7 100644 --- a/.github/actions/prepare_for_build/action.yml +++ b/.github/actions/prepare_for_build/action.yml @@ -76,7 +76,7 @@ runs: - name: Install Java if: ${{ inputs.platform == 'android' }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -100,11 +100,11 @@ runs: - name: Setup Docker if: ${{ inputs.platform == 'web' }} - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Setup Match SSH Keys if: ${{ inputs.platform == 'ios' || inputs.platform == 'macos' }} - uses: webfactory/ssh-agent@v0.5.4 + uses: webfactory/ssh-agent@v0.6.0 with: ssh-private-key: ${{ inputs.match-ssh-private-key }} diff --git a/.github/actions/prepare_for_deployment/action.yml b/.github/actions/prepare_for_deployment/action.yml index 37d092b1..694ff008 100644 --- a/.github/actions/prepare_for_deployment/action.yml +++ b/.github/actions/prepare_for_deployment/action.yml @@ -52,11 +52,11 @@ runs: - name: Set up Docker Buildx if: ${{ inputs.channel == 'docker' }} - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Setup GitHub Package Registry if: ${{ inputs.channel == 'docker' }} - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ inputs.ghcr-actor }} diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index e085b82b..798bccc0 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -87,7 +87,7 @@ jobs: return tags.map((tag) => `ghcr.io/jagandeepbrar/lunasea:${tag}`).join(','); - name: Build LunaSea - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . outputs: type=docker,dest=${{ github.workspace}}/output/lunasea-web-docker.tar diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index da0b4f44..c5b3e725 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -50,7 +50,7 @@ jobs: id: commit-count run: | COUNT=`git rev-list HEAD --count` - echo "::set-output name=commit-count::$COUNT" + echo "commit-count=$COUNT" >> $GITHUB_OUTPUT - name: Build Flavor id: build-flavor @@ -93,14 +93,14 @@ jobs: - name: Build Version id: build-version - uses: martinbeentjes/npm-get-version-action@v1.1.0 + uses: martinbeentjes/npm-get-version-action@main - name: Build Title id: build-title run: | HASH=`git rev-parse --short ${{ github.sha }}` TITLE="v${{ steps.build-version.outputs.current-version }}-${{ steps.build-flavor.outputs.result }}-${{ steps.build-number.outputs.result }}-$HASH" - echo "::set-output name=output::$TITLE" + echo "output=$TITLE" >> $GITHUB_OUTPUT - name: Log Build Details env: