Browse Source

Update GitHub Action Versions (#978)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
pull/981/head
Sebastian Stehle 3 years ago
committed by GitHub
parent
commit
59eb643c4f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/check-updates.yml
  2. 8
      .github/workflows/dev.yml
  3. 14
      .github/workflows/release.yml

2
.github/workflows/check-updates.yml

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3.4.0
with: with:
token: ${{ secrets.WORKFLOW_SECRET }} token: ${{ secrets.WORKFLOW_SECRET }}

8
.github/workflows/dev.yml

@ -16,19 +16,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Prepare - Checkout - name: Prepare - Checkout
uses: actions/checkout@v3.1.0 uses: actions/checkout@v3.4.0
- name: Prepare - Inject short Variables - name: Prepare - Inject short Variables
uses: rlespinasse/github-slug-action@v4.3.2 uses: rlespinasse/github-slug-action@v4.4.1
- name: Prepare - Set up QEMU - name: Prepare - Set up QEMU
uses: docker/setup-qemu-action@v2.1.0 uses: docker/setup-qemu-action@v2.1.0
- name: Prepare - Set up Docker Buildx - name: Prepare - Set up Docker Buildx
uses: docker/setup-buildx-action@v2.2.1 uses: docker/setup-buildx-action@v2.5.0
- name: Build - BUILD - name: Build - BUILD
uses: docker/build-push-action@v3.2.0 uses: docker/build-push-action@v4.0.0
with: with:
load: true load: true
build-args: "SQUIDEX__RUNTIME__VERSION=7.0.0-dev-${{ env.BUILD_NUMBER }}" build-args: "SQUIDEX__RUNTIME__VERSION=7.0.0-dev-${{ env.BUILD_NUMBER }}"

14
.github/workflows/release.yml

@ -11,19 +11,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Prepare - Checkout - name: Prepare - Checkout
uses: actions/checkout@v3.1.0 uses: actions/checkout@v3.4.0
- name: Prepare - Inject short Variables - name: Prepare - Inject short Variables
uses: rlespinasse/github-slug-action@v4.3.2 uses: rlespinasse/github-slug-action@v4.4.1
- name: Prepare - Set up QEMU - name: Prepare - Set up QEMU
uses: docker/setup-qemu-action@v2.1.0 uses: docker/setup-qemu-action@v2.1.0
- name: Prepare - Set up Docker Buildx - name: Prepare - Set up Docker Buildx
uses: docker/setup-buildx-action@v2.2.1 uses: docker/setup-buildx-action@v2.5.0
- name: Build - BUILD - name: Build - BUILD
uses: docker/build-push-action@v3.2.0 uses: docker/build-push-action@v4.0.0
with: with:
load: true load: true
build-args: "SQUIDEX__BUILD__VERSION=${{ env.GITHUB_REF_SLUG }},SQUIDEX__RUNTIME__VERSION=${{ env.GITHUB_REF_SLUG }}" build-args: "SQUIDEX__BUILD__VERSION=${{ env.GITHUB_REF_SLUG }},SQUIDEX__RUNTIME__VERSION=${{ env.GITHUB_REF_SLUG }}"
@ -91,7 +91,7 @@ jobs:
- name: Publish - Get Major Version - name: Publish - Get Major Version
id: version id: version
uses: rishabhgupta/split-by@v1 uses: rishabhgupta/split-by@v1.0.1
with: with:
string: "${{ env.GITHUB_REF_SLUG }}" string: "${{ env.GITHUB_REF_SLUG }}"
split-by: "." split-by: "."
@ -140,13 +140,13 @@ jobs:
- name: Release - Get Changelog Entry - name: Release - Get Changelog Entry
id: changelog_reader id: changelog_reader
uses: mindsers/changelog-reader-action@v2 uses: mindsers/changelog-reader-action@v2.2.2
with: with:
version: ${{ env.GITHUB_REF_SLUG }} version: ${{ env.GITHUB_REF_SLUG }}
path: ./CHANGELOG.md path: ./CHANGELOG.md
- name: Release - Publish Binaries - name: Release - Publish Binaries
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1.12.0
with: with:
allowUpdates: true allowUpdates: true
artifactErrorsFailBuild: true artifactErrorsFailBuild: true

Loading…
Cancel
Save