Skip to content

Commit

Permalink
Sadly, cannot use an action to checkout if code is not checked out.
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Jun 24, 2024
1 parent 406dee7 commit a2121c5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
14 changes: 0 additions & 14 deletions .github/actions/checkout/action.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- name: Generate assets
run: ./gradlew runData
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/export_guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
steps:
- name: Install Software OpenGL Rendering
run: sudo apt-get install xvfb libgl1-mesa-dri zopfli
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- name: Export Guide
run: DRI_PRIME=0 xvfb-run ./gradlew runGuideexport
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/localization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- uses: actions/setup-node@v2
with:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
VERSION: ${{ steps.prepare_artifact_metadata.outputs.VERSION }}

steps:
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- name: Build with Gradle
env:
Expand Down Expand Up @@ -89,7 +91,9 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- name: Download build artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -139,7 +143,9 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/checkout
- uses: actions/checkout@v4
- run: git fetch origin --tags
shell: bash
- uses: ./.github/actions/gradle-setup
- name: Download build artifact
uses: actions/download-artifact@v4
Expand Down

0 comments on commit a2121c5

Please sign in to comment.