flashflashrevolution / rCubed

Official Flash Flash Revolution game engine.
https://www.flashflashrevolution.com
GNU Affero General Public License v3.0
31 stars 17 forks source link

Build time flex-config error #236

Closed Zageron closed 3 years ago

Zageron commented 4 years ago

Describe the bug When building, a bug will sometime break the compiler. Trying to build again will generally always succeed.

Error: unable to open 'c:\airsdk\32.0.0.116\frameworks\libs\player\11.1\playerglobal.swc'.
c:\airsdk\32.0.0.116\frameworks\flex-config.xml (line: 47)
        </external-library-path>

Screenshots image

Reproduction Steps Try to build, succeed many times, fail randomly once in a while.

Reproduction Rate 5% of the time.

Expected behaviour Should build 100% of the time when no compiler errors.

Desktop (please complete the following information):

Additional context or comments There is already a solution to this problem implemented in the workflow.

      - name: Fix Air SDK Target
        uses: cschleiden/replace-tokens@v1
        with:
          files: '["./airsdk/frameworks/flex-config.xml"]'
          tokenPrefix: "{"
          tokenSuffix: "}"
        env:
          targetPlayerMinorVersion: 0
          targetPlayerMajorVersion: 32