diff --git a/.github/workflows/build_artifacts.yml b/.github/workflows/build_artifacts.yml index 7af3563a..924c737e 100644 --- a/.github/workflows/build_artifacts.yml +++ b/.github/workflows/build_artifacts.yml @@ -10,23 +10,17 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -# Initially, I wanted to use it to tweak actions/upload-artifact versions from one place -# but I also pulled versions of every action here -env: - Version_Checkout: v4 - Version_Setup_java: v4 - Version_Upload_artifact: v4 - +# TODO pull version of identical actions to a variable to tweak it from one place jobs: build_everything: name: Build everything runs-on: ubuntu-latest steps: - name: Do checkout (whatever that means) - uses: actions/checkout@${{ Version_Checkout }} + uses: actions/checkout@v4 - name: Setup JDK - uses: actions/setup-java@${{ Version_Setup_java }} + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 @@ -41,19 +35,19 @@ jobs: ./gradlew desktopLwjgl3:dist - name: Upload debug APK - uses: actions/upload-artifact@${{ Version_Upload_artifact }} + uses: actions/upload-artifact@v4 with: name: app-debug.apk path: android/build/outputs/apk/debug/android-debug.apk - name: Upload lwjgl2 dist - uses: actions/upload-artifact@${{ Version_Upload_artifact }} + uses: actions/upload-artifact@v4 with: name: app-desktopLwjgl2.jar path: desktop/build/libs/desktop-1.0.jar - name: Upload lwjgl3 dist - uses: actions/upload-artifact@${{ Version_Upload_artifact }} + uses: actions/upload-artifact@v4 with: name: app-desktopLwjgl3.jar path: desktopLwjgl3/build/libs/desktopLwjgl3-1.0.jar